@@ -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 | } |
@@ -347,7 +347,7 @@ discard block |
||
347 | 347 | |
348 | 348 | return self::httpBuildUrl( |
349 | 349 | array_map( |
350 | - function ($value) { |
|
350 | + function($value) { |
|
351 | 351 | return (string) $value; |
352 | 352 | }, |
353 | 353 | $this->data |
@@ -432,7 +432,7 @@ discard block |
||
432 | 432 | */ |
433 | 433 | private static function createDefaultParser() |
434 | 434 | { |
435 | - $pslManager = new PublicSuffixListManager(dirname(dirname(__DIR__)) . '/data'); |
|
435 | + $pslManager = new PublicSuffixListManager(dirname(dirname(__DIR__)).'/data'); |
|
436 | 436 | $pslParser = new PslParser($pslManager->getList()); |
437 | 437 | |
438 | 438 | return new Parser($pslParser); |
@@ -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 |