@@ -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\TwigRenderer. |
|
5 | - */ |
|
3 | + * @file |
|
4 | + * Contains \NotAFramework\App\Render\TwigRenderer. |
|
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 | - * 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 |
@@ -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; |
@@ -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 () { |
|
18 | + $whoops->pushHandler(function() { |
|
19 | 19 | echo "Blimey, that wasn't supposed to happen. Please email the developer"; |
20 | 20 | }); |
21 | 21 | } |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * NotAFramework - Something to get things done in PHP |
|
4 | - * |
|
5 | - * @package NotAFramework |
|
6 | - * @author Dan Richards <[email protected]> |
|
7 | - */ |
|
3 | + * NotAFramework - Something to get things done in PHP |
|
4 | + * |
|
5 | + * @package NotAFramework |
|
6 | + * @author Dan Richards <[email protected]> |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * ---------------------------------------------------------------------------- |