Completed
Push — master ( 23e36d...cfaf7a )
by Arman
26s queued 13s
created
src/Router/Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $this->findPatternMatches($uri);
98 98
 
99 99
         if (!count($this->matchedRoutes)) {
100
-            stop(function () {
100
+            stop(function() {
101 101
                 $this->response->html(partial('errors/404'), 404);
102 102
             });
103 103
         }
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         if (filter_var(config()->get(Debugger::DEBUG_ENABLED), FILTER_VALIDATE_BOOLEAN)) {
120 120
             $routeInfo = [];
121 121
 
122
-            array_walk($matchedRoute, function ($value, $key) use (&$routeInfo) {
122
+            array_walk($matchedRoute, function($value, $key) use (&$routeInfo) {
123 123
                 $routeInfo[ucfirst($key)] = json_encode($value);
124 124
             });
125 125
 
Please login to merge, or discard this patch.
src/Mvc/MvcManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
      */
140 140
     private static function routeParams(): array
141 141
     {
142
-        return array_map(function ($param) {
142
+        return array_map(function($param) {
143 143
             return $param['value'];
144 144
         }, route_params());
145 145
     }
Please login to merge, or discard this patch.
src/Libraries/Validation/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
             foreach ($this->errors as $field => $errors) {
197 197
                 if (count($errors)) {
198 198
                     foreach ($errors as $rule => $param) {
199
-                        $translationParams = [t('common.'.$field)];
199
+                        $translationParams = [t('common.' . $field)];
200 200
 
201 201
                         if ($param) {
202 202
                             $translationParams[] = $param;
Please login to merge, or discard this patch.