@@ -72,7 +72,7 @@ |
||
72 | 72 | 'whitespace' => false, |
73 | 73 | 'recursion.detect' => false |
74 | 74 | ]); |
75 | - $cache = '<?php $crudlexCacheContent = '.$contentPHP.';'; |
|
75 | + $cache = '<?php $crudlexCacheContent = '.$contentPHP.';'; |
|
76 | 76 | file_put_contents($this->getCacheFile($fileName), $cache); |
77 | 77 | } |
78 | 78 |
@@ -67,7 +67,7 @@ |
||
67 | 67 | { |
68 | 68 | $controller = $app->offsetExists('crud.controller') ? $app['crud.controller'] : new Controller($app['crud'], $app['crud.filesystem'], $app['twig'], $app['session'], $app['translator']); |
69 | 69 | if (!$controller instanceof ControllerInterface) { |
70 | - throw new \InvalidArgumentException('crud.controller doesn\'t implement CRUDlex\ControllerInterface.' ); |
|
70 | + throw new \InvalidArgumentException('crud.controller doesn\'t implement CRUDlex\ControllerInterface.'); |
|
71 | 71 | } |
72 | 72 | $localeAndCheckEntity = [$controller, 'setLocaleAndCheckEntity']; |
73 | 73 | $factory = $app['controllers_factory']; |