Passed
Pull Request — master (#239)
by Sergei
11:46
created
src/UrlGeneratorInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/RouteCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
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 */
Please login to merge, or discard this patch.
src/HydratorAttribute/RouteArgument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
config/di.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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 = [];
Please login to merge, or discard this patch.
rector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.