Skip to content

Commit b69adad

Browse files
cs fixes
1 parent 7cfcb89 commit b69adad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Annotation/Route.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ class Route
3535
* @param string[]|string $schemes
3636
*/
3737
public function __construct(
38-
string | array | null $path = null,
38+
string|array $path = null,
3939
private ?string $name = null,
4040
private array $requirements = [],
4141
private array $options = [],
4242
private array $defaults = [],
4343
private ?string $host = null,
44-
array | string $methods = [],
45-
array | string $schemes = [],
44+
array|string $methods = [],
45+
array|string $schemes = [],
4646
private ?string $condition = null,
4747
private ?int $priority = null,
4848
string $locale = null,
@@ -146,7 +146,7 @@ public function getDefaults()
146146
return $this->defaults;
147147
}
148148

149-
public function setSchemes(array | string $schemes)
149+
public function setSchemes(array|string $schemes)
150150
{
151151
$this->schemes = (array) $schemes;
152152
}
@@ -156,7 +156,7 @@ public function getSchemes()
156156
return $this->schemes;
157157
}
158158

159-
public function setMethods(array | string $methods)
159+
public function setMethods(array|string $methods)
160160
{
161161
$this->methods = (array) $methods;
162162
}

0 commit comments

Comments
 (0)