Completed
Pull Request — develop (#16)
by Victor
02:32
created
Type/StringType.php 1 patch
Spacing   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 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
 
@@ -88,8 +88,7 @@  discard block
 block discarded – undo
88 88
     public function strpos(string $subStr, int $offset = 0, bool $caseSensitive = false) : int
89 89
     {
90 90
         return ($caseSensitive) ?
91
-            mb_strpos($this->str, $subStr, $offset, $this->encoding) :
92
-            mb_stripos($this->str, $subStr, $offset, $this->encoding);
91
+            mb_strpos($this->str, $subStr, $offset, $this->encoding) : mb_stripos($this->str, $subStr, $offset, $this->encoding);
93 92
     }
94 93
 
95 94
     /**
@@ -104,8 +103,7 @@  discard block
 block discarded – undo
104 103
     public function strrpos(string $subStr, int $offset = 0, bool $caseSensitive = false) : int
105 104
     {
106 105
         return ($caseSensitive) ?
107
-            mb_strrpos($this->str, $subStr, $offset, $this->encoding) :
108
-            mb_strripos($this->str, $subStr, $offset, $this->encoding);
106
+            mb_strrpos($this->str, $subStr, $offset, $this->encoding) : mb_strripos($this->str, $subStr, $offset, $this->encoding);
109 107
     }
110 108
 
111 109
     /**
Please login to merge, or discard this patch.
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.