@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Contains \NotAFramework\App\Controllers\HelloWorldController. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Contains \NotAFramework\App\Controllers\HelloWorldController. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | namespace NotAFramework\App\Controllers; |
| 8 | 8 | |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Contains \NotAFramework\App\Render\RendererInterface. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Contains \NotAFramework\App\Render\RendererInterface. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | namespace NotAFramework\App\Render; |
| 8 | 8 | |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * The app container, handles dependency injection. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * The app container, handles dependency injection. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | use League\Container\Container; |
| 8 | 8 | use League\Container\ReflectionContainer; |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * Really. |
| 27 | 27 | */ |
| 28 | 28 | |
| 29 | -$container->share('Symfony\Component\HttpFoundation\Request', function () { |
|
| 29 | +$container->share('Symfony\Component\HttpFoundation\Request', function() { |
|
| 30 | 30 | return Symfony\Component\HttpFoundation\Request::createFromGlobals(); |
| 31 | 31 | }); |
| 32 | 32 | |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Implement the router so we can show some content. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Implement the router so we can show some content. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | use Phroute\Phroute\RouteCollector; |
| 8 | 8 | |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler); |
| 16 | 16 | } else { |
| 17 | 17 | // In production show a friendly message. |
| 18 | - $whoops->pushHandler(function ($e) { |
|
| 18 | + $whoops->pushHandler(function($e) { |
|
| 19 | 19 | echo "Blimey, that wasn't supposed to happen. Please email the developer"; |
| 20 | 20 | }); |
| 21 | 21 | } |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Implement error handling, just in case. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Implement error handling, just in case. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | // Register the error handler. |
| 8 | 8 | $whoops = new \Whoops\Run; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Contains \NotAFramework\App\Controllers\Controller. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Contains \NotAFramework\App\Controllers\Controller. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | namespace NotAFramework\App\Controllers; |
| 8 | 8 | |