Completed
Push — master ( 1fa2c7...4160d6 )
by Mathieu
03:42
created
src/Charcoal/App/AppConfig.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-    * @param array $routes
53
+    * @param array $routables
54 54
     * @return AppConfig Chainable
55 55
     */
56 56
     public function set_routables(array $routables)
@@ -88,7 +88,6 @@  discard block
 block discarded – undo
88 88
     /**
89 89
     * Set the application's available languages
90 90
     *
91
-    * @param  Language[] $lang
92 91
     * @return self
93 92
     */
94 93
     public function set_languages(array $languages)
Please login to merge, or discard this patch.
src/Charcoal/App/Template/AbstractTemplate.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     /**
46 46
     * @param SlimApp $app
47
-    * @return App Chainable
47
+    * @return AbstractTemplate Chainable
48 48
     */
49 49
     public function set_app(SlimApp $app)
50 50
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     * Fulfills the PSR-1 style LoggerAwareInterface
64 64
     *
65 65
     * @param LoggerInterface $logger
66
-    * @return AbstractEngine Chainable
66
+    * @return AbstractTemplate Chainable
67 67
     */
68 68
     public function setLogger(LoggerInterface $logger)
69 69
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
     /**
74 74
     * @param LoggerInterface $logger
75
-    * @return AbstractEngine Chainable
75
+    * @return AbstractTemplate Chainable
76 76
     */
77 77
     public function set_logger(LoggerInterface $logger = null)
78 78
     {
Please login to merge, or discard this patch.
www/index.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 // If using PHP's built-in server, return false for existing files on filesystem
12 12
 if (PHP_SAPI === 'cli-server') {
13
-    $filename = __DIR__ . preg_replace('#(\?.*)$#', '', $_SERVER['REQUEST_URI']);
13
+    $filename = __DIR__.preg_replace('#(\?.*)$#', '', $_SERVER['REQUEST_URI']);
14 14
     if (is_file($filename)) {
15 15
         return false;
16 16
     }
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
 };
34 34
 
35 35
 // Handle "404 Not Found"
36
-$container['notFoundHandler'] = function ($c) 
36
+$container['notFoundHandler'] = function($c) 
37 37
 { 
38
-    return function ($request, $response) use ($c) 
38
+    return function($request, $response) use ($c) 
39 39
     { 
40 40
         return $c['response'] 
41 41
             ->withStatus(404) 
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
 };
46 46
 
47 47
 // Handle "500 Server Error" 
48
-$container['errorHandler'] = function ($c) 
48
+$container['errorHandler'] = function($c) 
49 49
 {
50
-    return function ($request, $response, $exception) use ($c) 
50
+    return function($request, $response, $exception) use ($c) 
51 51
     {
52 52
         return $c['response']
53 53
             ->withStatus(500)
Please login to merge, or discard this patch.