@@ -15,9 +15,9 @@ |
||
| 15 | 15 | public function isFiltered(UriInterface $uri, UriInterface $startPage) |
| 16 | 16 | { |
| 17 | 17 | foreach ($this->whitelist as $whitelist) { |
| 18 | - if (preg_match($whitelist, (string)$uri)) { |
|
| 18 | + if (preg_match($whitelist, (string) $uri)) { |
|
| 19 | 19 | foreach ($this->blacklist as $blacklist) { |
| 20 | - if (preg_match($blacklist, (string)$uri)) { |
|
| 20 | + if (preg_match($blacklist, (string) $uri)) { |
|
| 21 | 21 | return true; |
| 22 | 22 | } |
| 23 | 23 | } |