@@ -9,7 +9,7 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * `UrlGeneratorInterface` allows generating URL given route name, arguments, and query parameters. |
| 11 | 11 | * |
| 12 | - * @psalm-type UrlArgumentsType = array<string,scalar|Stringable|null> |
|
| 12 | + * @psalm-type UrlArgumentsType = array<string,scalar|Stringable|null> |
|
| 13 | 13 | */ |
| 14 | 14 | interface UrlGeneratorInterface |
| 15 | 15 | { |
@@ -163,7 +163,7 @@ |
||
| 163 | 163 | Group $group, |
| 164 | 164 | array &$hosts, |
| 165 | 165 | ?string &$pattern, |
| 166 | - Route &$modifiedItem, |
|
| 166 | + Route&$modifiedItem, |
|
| 167 | 167 | array &$tree |
| 168 | 168 | ): void { |
| 169 | 169 | /** @var array|callable|string $middleware */ |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | use Attribute; |
| 8 | 8 | use Yiisoft\Hydrator\Attribute\Parameter\ParameterAttributeInterface; |
| 9 | 9 | |
| 10 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::TARGET_PARAMETER | Attribute::IS_REPEATABLE)] |
|
| 10 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::TARGET_PARAMETER|Attribute::IS_REPEATABLE)] |
|
| 11 | 11 | final class RouteArgument implements ParameterAttributeInterface |
| 12 | 12 | { |
| 13 | 13 | public function __construct( |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | return [ |
| 10 | 10 | RouteCollectorInterface::class => RouteCollector::class, |
| 11 | 11 | CurrentRoute::class => [ |
| 12 | - 'reset' => function () { |
|
| 12 | + 'reset' => function() { |
|
| 13 | 13 | $this->route = null; |
| 14 | 14 | $this->uri = null; |
| 15 | 15 | $this->arguments = []; |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | use Rector\Config\RectorConfig; |
| 7 | 7 | use Rector\Set\ValueObject\LevelSetList; |
| 8 | 8 | |
| 9 | -return static function (RectorConfig $rectorConfig): void { |
|
| 9 | +return static function(RectorConfig $rectorConfig): void { |
|
| 10 | 10 | $rectorConfig->paths([ |
| 11 | 11 | __DIR__ . '/src', |
| 12 | 12 | __DIR__ . '/tests', |