Passed
Pull Request — master (#209)
by
unknown
03:27 queued 11s
created
src/Mvc/MvcManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
 
106 106
         return $loader->loadClassFromFile(
107 107
             $controllerPath,
108
-            function () { return ControllerException::controllerNotFound(current_controller()); },
109
-            function () { return ControllerException::controllerNotDefined(current_controller()); }
108
+            function() { return ControllerException::controllerNotFound(current_controller()); },
109
+            function() { return ControllerException::controllerNotDefined(current_controller()); }
110 110
         );
111 111
     }
112 112
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      */
146 146
     private static function routeParams(): array
147 147
     {
148
-        return array_map(function ($param) {
148
+        return array_map(function($param) {
149 149
             return $param['value'];
150 150
         }, route_params());
151 151
     }
Please login to merge, or discard this patch.
src/Middleware/MiddlewareManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
         $currentMiddleware = $this->getMiddleware($request, $response);
68 68
 
69
-        list($request, $response) = $currentMiddleware->apply($request, $response, function ($request, $response) {
69
+        list($request, $response) = $currentMiddleware->apply($request, $response, function($request, $response) {
70 70
             next($this->middlewares);
71 71
             return [$request, $response];
72 72
         });
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
89 89
 
90 90
         return $loader->loadClassFromFile(
91 91
             $middlewarePath,
92
-            function () { return MiddlewareException::middlewareNotFound(current($this->middlewares)); },
93
-            function () { return MiddlewareException::notDefined(current($this->middlewares)); },
92
+            function() { return MiddlewareException::middlewareNotFound(current($this->middlewares)); },
93
+            function() { return MiddlewareException::notDefined(current($this->middlewares)); },
94 94
             [$request, $response]
95 95
         );
96 96
     }
Please login to merge, or discard this patch.
src/Libraries/Module/ModuleManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
     private function replacePlaceholders(string $content): string
212 212
     {
213 213
         $placeholders = [
214
-            '{{MODULE_NAMESPACE}}' => $this->getBaseNamespace() .'\\' . $this->getModuleName(),
214
+            '{{MODULE_NAMESPACE}}' => $this->getBaseNamespace() . '\\' . $this->getModuleName(),
215 215
             '{{MODULE_NAME}}' => $this->getModuleName(),
216 216
         ];
217 217
 
Please login to merge, or discard this patch.
src/Libraries/Database/Adapters/Sleekdb/Statements/Criteria.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     protected function sanitizeValue($value)
95 95
     {
96 96
         if (is_array($value)) {
97
-            return array_map(function ($v) {
97
+            return array_map(function($v) {
98 98
                 return is_string($v) ? preg_quote($v, '/') : $v;
99 99
             }, $value);
100 100
         }
Please login to merge, or discard this patch.