@@ -41,7 +41,7 @@ |
||
41 | 41 | public function getPath() |
42 | 42 | { |
43 | 43 | $this->initialize(); |
44 | - return implode('/', array_map(function ($value) { |
|
44 | + return implode('/', array_map(function($value) { |
|
45 | 45 | return str_replace(' ', '%20', $value); |
46 | 46 | }, $this->data)); |
47 | 47 | } |
@@ -76,7 +76,7 @@ |
||
76 | 76 | { |
77 | 77 | $this->initialize(); |
78 | 78 | return sprintf('%s%s', $this->path, $this->query->getQuery() |
79 | - ? '?' . $this->query->getQuery() |
|
79 | + ? '?'.$this->query->getQuery() |
|
80 | 80 | : ''); |
81 | 81 | } |
82 | 82 |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | $this->initialize(); |
350 | 350 | |
351 | 351 | $parts = array_map( |
352 | - function ($value) { |
|
352 | + function($value) { |
|
353 | 353 | return (string) $value; |
354 | 354 | }, |
355 | 355 | $this->data |
@@ -455,7 +455,7 @@ discard block |
||
455 | 455 | */ |
456 | 456 | private static function createDefaultParser() |
457 | 457 | { |
458 | - $pslManager = new PublicSuffixListManager(dirname(dirname(__DIR__)) . '/data'); |
|
458 | + $pslManager = new PublicSuffixListManager(dirname(dirname(__DIR__)).'/data'); |
|
459 | 459 | $pslParser = new PslParser($pslManager->getList()); |
460 | 460 | |
461 | 461 | return new Parser($pslParser); |