Completed
Pull Request — develop (#16)
by Victor
02:20
created
Type/TypeInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Tdn\PhpTypes\Type;
5 5
 
Please login to merge, or discard this patch.
Type/BooleanType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Tdn\PhpTypes\Type;
5 5
 
Please login to merge, or discard this patch.
Type/FloatType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Tdn\PhpTypes\Type;
5 5
 
Please login to merge, or discard this patch.
Type/Traits/Transmutable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Tdn\PhpTypes\Type;
5 5
 
Please login to merge, or discard this patch.
Exception/MathExceptionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Tdn\PhpTypes\Type;
5 5
 
Please login to merge, or discard this patch.
Exception/InvalidNumberException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Tdn\PhpTypes\Type;
5 5
 
Please login to merge, or discard this patch.
Math/DefaultMathAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Tdn\PhpTypes\Type;
5 5
 
Please login to merge, or discard this patch.
Math/MathAdapterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Tdn\PhpTypes\Type;
5 5
 
Please login to merge, or discard this patch.
Math/AbstractMathAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Tdn\PhpTypes\Math;
6 6
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     protected function getOperationType(string $a, string $b = null): string
137 137
     {
138
-        $getType = function ($v, $previousType = null) {
138
+        $getType = function($v, $previousType = null) {
139 139
             $previousType = $previousType ?? self::TYPE_INT;
140 140
 
141 141
             return (strpos($v, '.') !== false) ? self::TYPE_FLOAT : $previousType;
Please login to merge, or discard this patch.