Test Failed
Branch main (c2f646)
by Pranjal
13:07
created
src/Traits/Container.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@
 block discarded – undo
45 45
         return $this->container->make($class, $params);
46 46
     }
47 47
 
48
-     /**
49
-     * Check if a class is registered in the container
50
-     * @param string $class
51
-     * @return bool
52
-     */
48
+        /**
49
+         * Check if a class is registered in the container
50
+         * @param string $class
51
+         * @return bool
52
+         */
53 53
     public function has(string $class): bool
54 54
     {
55 55
         return $this->container->has($class);
Please login to merge, or discard this patch.
src/Traits/Router.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -3,21 +3,21 @@
 block discarded – undo
3 3
 
4 4
 trait Router
5 5
 {
6
-     /**
7
-     * Register controller directory and namespace for autorouting
8
-     * @param string $dir 
9
-     * @param string $namespace
10
-     */
6
+        /**
7
+         * Register controller directory and namespace for autorouting
8
+         * @param string $dir 
9
+         * @param string $namespace
10
+         */
11 11
     public function registerAutoRoute(string $dir, string $namespace): void
12 12
     {
13 13
         $this->router->register($dir, $namespace);
14 14
     }
15 15
 
16
-     /**
17
-     * Register a new get route with the router
18
-     * @param string $route
19
-     * @param \Closure|callable $callback
20
-     */
16
+        /**
17
+         * Register a new get route with the router
18
+         * @param string $route
19
+         * @param \Closure|callable $callback
20
+         */
21 21
     public function get(string $route, \Closure|callable $callback): void
22 22
     {
23 23
         if(is_callable($callback)){
Please login to merge, or discard this patch.