@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | */ |
22 | 22 | protected function evalSubstringOf($item) |
23 | 23 | { |
24 | - return (false !== strpos($this->stripSpace((string) $item), $this->stripSpace($this->_substring))); |
|
24 | + return (false !== strpos($this->stripSpace((string)$item), $this->stripSpace($this->_substring))); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | protected function relationship() |
@@ -34,8 +34,8 @@ discard block |
||
34 | 34 | * |
35 | 35 | * @return string |
36 | 36 | */ |
37 | - private function stripSpace( $string) |
|
37 | + private function stripSpace($string) |
|
38 | 38 | { |
39 | - return trim(preg_replace( "/[\r\n\t ]+/", ' ', $string)); |
|
39 | + return trim(preg_replace("/[\r\n\t ]+/", ' ', $string)); |
|
40 | 40 | } |
41 | 41 | } |