Passed
Branch master (5116e9)
by Kirill
03:58
created
src/Base/BaseDocument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Reflection\Base;
11 11
 
Please login to merge, or discard this patch.
src/Base/Dependent/BaseDependent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Reflection\Base\Dependent;
11 11
 
Please login to merge, or discard this patch.
src/Base/Dependent/BaseArgument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Reflection\Base\Dependent;
11 11
 
Please login to merge, or discard this patch.
src/Base/Dependent/Field/BaseFieldsContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Reflection\Base\Dependent\Field;
11 11
 
Please login to merge, or discard this patch.
src/Base/Dependent/Argument/BaseArgumentsContainer.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Reflection\Base\Dependent\Argument;
11 11
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function getNumberOfRequiredArguments(): int
73 73
     {
74
-        return (int)\array_reduce($this->arguments, [$this, 'requiredArgumentsCounter'], 0);
74
+        return (int) \array_reduce($this->arguments, [$this, 'requiredArgumentsCounter'], 0);
75 75
     }
76 76
 
77 77
     /**
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getNumberOfOptionalArguments(): int
81 81
     {
82
-        return (int)\array_reduce($this->arguments, [$this, 'optionalArgumentsCounter'], 0);
82
+        return (int) \array_reduce($this->arguments, [$this, 'optionalArgumentsCounter'], 0);
83 83
     }
84 84
 
85 85
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     private function optionalArgumentsCounter(int $carry, ArgumentDefinition $argument): int
91 91
     {
92
-        return $carry + (int)$argument->hasDefaultValue();
92
+        return $carry + (int) $argument->hasDefaultValue();
93 93
     }
94 94
 
95 95
     /**
@@ -99,6 +99,6 @@  discard block
 block discarded – undo
99 99
      */
100 100
     private function requiredArgumentsCounter(int $carry, ArgumentDefinition $argument): int
101 101
     {
102
-        return $carry + (int)! $argument->hasDefaultValue();
102
+        return $carry + (int) !$argument->hasDefaultValue();
103 103
     }
104 104
 }
Please login to merge, or discard this patch.
src/Base/Dependent/BaseField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Reflection\Base\Dependent;
11 11
 
Please login to merge, or discard this patch.
src/Contracts/Definitions/UnionDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Reflection\Contracts\Definitions;
11 11
 
Please login to merge, or discard this patch.
src/Contracts/Definitions/Directive/Location.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Reflection\Contracts\Definitions\Directive;
11 11
 
Please login to merge, or discard this patch.
src/Contracts/Definitions/ScalarDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\Reflection\Contracts\Definitions;
11 11
 
Please login to merge, or discard this patch.