@@ -1,5 +1,5 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | /** |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Tdn\PhpTypes\Type; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Tdn\PhpTypes\Type; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Tdn\PhpTypes\Type; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Tdn\PhpTypes\Type; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Tdn\PhpTypes\Type; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Tdn\PhpTypes\Type; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Tdn\PhpTypes\Type; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Tdn\PhpTypes\Type; |
| 5 | 5 | |