Passed
Push — master ( d1f411...e9ab28 )
by Alexander
01:24
created
src/response/Page.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -151,14 +151,14 @@  discard block
 block discarded – undo
151 151
         ob_start();
152 152
         try {
153 153
             if ($headfile && file_exists($headfile)) {
154
-                (function (string $sldkfjlksejflskjflskdjflskdfj) {
154
+                (function(string $sldkfjlksejflskjflskdjflskdfj) {
155 155
                     extract($this->data);
156 156
                     include $sldkfjlksejflskjflskdjflskdfj;
157 157
                 })($headfile);
158 158
             }
159 159
 
160 160
             if ($neckfile && file_exists($neckfile)) {
161
-                (function (string $lidsinqjhsdfytqkwjkasjdksadsdg) {
161
+                (function(string $lidsinqjhsdfytqkwjkasjdksadsdg) {
162 162
                     extract($this->data);
163 163
                     include $lidsinqjhsdfytqkwjkasjdksadsdg;
164 164
                 })($neckfile);
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
         if ($footfile && file_exists($footfile)) {
213 213
             ob_start();
214 214
             try {
215
-                (function (string $ldkfoskdfosjicyvutwehkshfskjdf) {
215
+                (function(string $ldkfoskdfosjicyvutwehkshfskjdf) {
216 216
                     extract($this->data);
217 217
                     include $ldkfoskdfosjicyvutwehkshfskjdf;
218 218
                 })($footfile);
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
         ob_start();
240 240
         try {
241 241
             // or another way to hide the file variable?
242
-            (function (string $dsfjskdfjsdlkfjsdkfjsdkfjsdlkfjsd) {
242
+            (function(string $dsfjskdfjsdlkfjsdkfjsdkfjsdlkfjsd) {
243 243
                 extract($this->data);
244 244
                 include $dsfjskdfjsdlkfjsdkfjsdkfjsdlkfjsd;
245 245
             })($file);
Please login to merge, or discard this patch.
src/Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
                  * @param string|int $v
141 141
                  * @return bool
142 142
                  */
143
-                function ($v) {
143
+                function($v) {
144 144
                     return !is_int($v);
145 145
                 },
146 146
                 \ARRAY_FILTER_USE_KEY
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
         $url = self::$aliases[$url] ?? $url;
167 167
         return static::createRoute(
168 168
             $url,
169
-            function (Request $request): ?Response {
169
+            function(Request $request): ?Response {
170 170
                 $page = response\Page::fromRequest($request);
171 171
                 // @TODO BC breaking, but move this?
172 172
                 return $page->isValid() ? $page : null;
Please login to merge, or discard this patch.