original_string: public function correctViewNamespace($config)
      {
          $controllerFile = $config['_path_controller_'].'/'.$config['_ucCamel_casePlural_'].'Controller.php';
  
          $controller = file_get_contents($controllerFile);
  
          $controller = str_replace("view('".$config['_sectionPrefix_'].$config['_lower_casePlural_'].".", "view('".$config['_sectionPrefix_'].$config['_lower_casePlural_']."::", $controller);
  
          file_put_contents($controllerFile, $controller);
      }
code: public function correctViewNamespace($config)
      {
          $controllerFile = $config['_path_controller_'].'/'.$config['_ucCamel_casePlural_'].'Controller.php';
  
          $controller = file_get_contents($controllerFile);
  
          $controller = str_replace("view('".$config['_sectionPrefix_'].$config['_lower_casePlural_'].".", "view('".$config['_sectionPrefix_'].$config['_lower_casePlural_']."::", $controller);
  
          file_put_contents($controllerFile, $controller);
      }
code_tokens: public function correctViewNamespace ( $ config ) { $ controllerFile = $ config [ '_path_controller_' ] . '/' . $ config [ '_ucCamel_casePlural_' ] . 'Controller.php' ; $ controller = file_get_contents ( $ controllerFile ) ; $ controller = str_replace ( "view('" . $ config [ '_sectionPrefix_' ] . $ config [ '_lower_casePlural_' ] . "." , "view('" . $ config [ '_sectionPrefix_' ] . $ config [ '_lower_casePlural_' ] . "::" , $ controller ) ; file_put_contents ( $ controllerFile , $ controller ) ; }
docstring: Corrects the namespace for the view.
  
  @param  array $config
docstring_tokens: Corrects the namespace for the view .