@@ -16,11 +16,11 @@ |
||
| 16 | 16 | foreach ($arr as $key => $value) { |
| 17 | 17 | $item = is_int($key) ? $value : $key; |
| 18 | 18 | |
| 19 | - if(is_string($item) === false) { |
|
| 19 | + if (is_string($item) === false) { |
|
| 20 | 20 | throw new InvalidArgumentException('Given array contain not string key'); |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | - if(self::isMatchedString($item, $str)) { |
|
| 23 | + if (self::isMatchedString($item, $str)) { |
|
| 24 | 24 | return $item; |
| 25 | 25 | } |
| 26 | 26 | } |