Passed
Push — master ( 18e951...67611c )
by Henri
01:38
created
src/RouteAttribute.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -7,18 +7,18 @@
 block discarded – undo
7 7
 #[Attribute]
8 8
 class RouteAttribute{
9 9
     public function __construct
10
-	(
11
-		private string $uri,
12
-		private array $methods,
13
-		private string $name,
14
-		private ?array $where,
15
-		private ?string|Closure $after,
16
-		private ?string|Closure $before,
17
-		private ?array $attributes,
18
-		private ?array $middleware
19
-	)
20
-	{
21
-		echo 1;
10
+    (
11
+        private string $uri,
12
+        private array $methods,
13
+        private string $name,
14
+        private ?array $where,
15
+        private ?string|Closure $after,
16
+        private ?string|Closure $before,
17
+        private ?array $attributes,
18
+        private ?array $middleware
19
+    )
20
+    {
21
+        echo 1;
22 22
 
23
-	}
23
+    }
24 24
 }
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,15 +5,14 @@
 block discarded – undo
5 5
 use Attribute;
6 6
 
7 7
 #[Attribute]
8
-class RouteAttribute{
9
-    public function __construct
10
-	(
8
+class RouteAttribute {
9
+    public function __construct(
11 10
 		private string $uri,
12 11
 		private array $methods,
13 12
 		private string $name,
14 13
 		private ?array $where,
15
-		private ?string|Closure $after,
16
-		private ?string|Closure $before,
14
+		private ?string | Closure $after,
15
+		private ?string | Closure $before,
17 16
 		private ?array $attributes,
18 17
 		private ?array $middleware
19 18
 	)
Please login to merge, or discard this patch.