Passed
Push — master ( 94b125...6b84cd )
by Pranjal
16:08
created
rector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
 
7 7
 return RectorConfig::configure()
8 8
     ->withPaths([
9
-        __DIR__ . '/src',
10
-        __DIR__ . '/tests',
9
+        __DIR__.'/src',
10
+        __DIR__.'/tests',
11 11
     ])
12 12
     // uncomment to reach your current PHP version
13 13
     ->withPhpSets(php83:true)
14 14
     ->withAttributesSets()
15
-    ->withPreparedSets(deadCode:true,typeDeclarations:true,codeQuality:true);
15
+    ->withPreparedSets(deadCode:true, typeDeclarations:true, codeQuality:true);
Please login to merge, or discard this patch.
src/RouteCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     /**
79 79
      * Function returns the class of corrosponding controller.
80 80
      */
81
-    public function getController(string $controller): false|string
81
+    public function getController(string $controller): false | string
82 82
     {
83 83
         if ($this->enableCache && $this->cache->has(str_replace('/', '_', $controller))) {
84 84
             return $this->cache->get(str_replace('/', '_', $controller));
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
     /**
250 250
      * get callable using route and method.
251 251
      */
252
-    public function getRoute(string $route, string $method): callable|bool
252
+    public function getRoute(string $route, string $method): callable | bool
253 253
     {
254 254
         return $this->route[$method][$route] ?? $this->route['all'][$route] ?? false;
255 255
     }
Please login to merge, or discard this patch.
src/RouterEngine.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
      *
197 197
      * @return bool|array<mixed>
198 198
      */
199
-    private function getArguments(string $controller, string $method): bool|array
199
+    private function getArguments(string $controller, string $method): bool | array
200 200
     {
201 201
         $controllerObj = new $controller();
202 202
 
Please login to merge, or discard this patch.