Passed
Push — master ( c1d5ad...2deeb6 )
by Justin
03:10
created
core/Framework.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public static function middleware(array $stack)
43 43
     {
44
-        return array_map(function ($callable) {
44
+        return array_map(function($callable) {
45 45
             $callable = is_string($callable) ? static::lazy($callable) : $callable;
46 46
             return $callable;
47 47
         }, $stack);
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public static function lazy($className)
58 58
     {
59
-        return function (RequestInterface $request, callable $next) use ($className) {
59
+        return function(RequestInterface $request, callable $next) use ($className) {
60 60
             $class = new $className();
61 61
             return $class($request, $next);
62 62
         };
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     public static function router(RequestInterface $request, $path = null)
71 71
     {
72 72
         $path = $path ?: __DIR__ . "/../app/routes.php";
73
-        $dispatcher = \FastRoute\simpleDispatcher(function (RouteCollector $r) use ($path) {
73
+        $dispatcher = \FastRoute\simpleDispatcher(function(RouteCollector $r) use ($path) {
74 74
             include $path;
75 75
         });
76 76
         $match = $dispatcher->dispatch($request->getMethod(), $request->getUri()->getPath());
Please login to merge, or discard this patch.
core/Response.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * Returns a response with a particular view loaded.
26 26
      *
27
-     * @param  string $view name of the view to load
28 27
      * @param  array  $data data to expose to the view
29 28
      * @return \Psr\Http\Message\ResponseInterface
30 29
      */
@@ -36,7 +35,7 @@  discard block
 block discarded – undo
36 35
     /**
37 36
      * Create a new basic string response.
38 37
      *
39
-     * @param  string $name name of the view to load
38
+     * @param string $string
40 39
      * @return \Psr\Http\Message\ResponseInterface
41 40
      */
42 41
     public static function string($string)
Please login to merge, or discard this patch.