Passed
Push — master ( ed241c...da66b4 )
by Alexander
01:40
created
src/response/Page.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         }
95 95
     }
96 96
 
97
-    public function request(): ?Request
97
+    public function request(): ? Request
98 98
     {
99 99
         return $this->request;
100 100
     }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         try {
107 107
             $headfile = $this->getLayoutFile('head');
108 108
             if (file_exists($headfile)) {
109
-                (function ($sldkfjlksejflskjflskdjflskdfj) {
109
+                (function($sldkfjlksejflskjflskdjflskdfj) {
110 110
                     extract($this->data);
111 111
                     include $sldkfjlksejflskjflskdjflskdfj;
112 112
                 })($headfile);
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
             $neckfile = $this->getLayoutFile('neck');
116 116
             if (file_exists($neckfile)) {
117
-                (function ($lidsinqjhsdfytqkwjkasjdksadsdg) {
117
+                (function($lidsinqjhsdfytqkwjkasjdksadsdg) {
118 118
                     extract($this->data);
119 119
                     include $lidsinqjhsdfytqkwjkasjdksadsdg;
120 120
                 })($neckfile);
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 
155 155
         ob_start();
156 156
         try {
157
-            (function ($ldkfoskdfosjicyvutwehkshfskjdf) {
157
+            (function($ldkfoskdfosjicyvutwehkshfskjdf) {
158 158
                 extract($this->data);
159 159
                 include $ldkfoskdfosjicyvutwehkshfskjdf;
160 160
             })($footfile);
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
         ob_start();
179 179
         try {
180 180
             // or another way to hide the file variable?
181
-            (function ($dsfjskdfjsdlkfjsdkfjsdkfjsdlkfjsd) {
181
+            (function($dsfjskdfjsdlkfjsdkfjsdkfjsdlkfjsd) {
182 182
                 extract($this->data);
183 183
                 include $dsfjskdfjsdlkfjsdkfjsdkfjsdlkfjsd;
184 184
             })($file);
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
      * @param null|string $url
220 220
      * @return string
221 221
      */
222
-    private function templateFromUrl(?string $url = null): string
222
+    private function templateFromUrl(? string $url = null) : string
223 223
     {
224 224
         $parts = \explode('/', $url);
225 225
         $last = \array_slice($parts, -1, 1, true);
Please login to merge, or discard this patch.