original_string: protected function submodules(StudyModuleAcademicPeriod $module) {
          return $this->validateCollection($module->module()->first()->submodules()->active()->get());
      }
code: protected function submodules(StudyModuleAcademicPeriod $module) {
          return $this->validateCollection($module->module()->first()->submodules()->active()->get());
      }
code_tokens: protected function submodules ( StudyModuleAcademicPeriod $ module ) { return $ this -> validateCollection ( $ module -> module ( ) -> first ( ) -> submodules ( ) -> active ( ) -> get ( ) ) ; }
docstring: Get the submodules to migrate.
  
  @param StudyModuleAcademicPeriod $module
  @return mixed
docstring_tokens: Get the submodules to migrate .