@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | |
143 | 143 | $authority .= $this->getHost(); |
144 | 144 | |
145 | - if (! is_null($this->getPort())) { |
|
145 | + if (!is_null($this->getPort())) { |
|
146 | 146 | $authority .= ':' . $this->getPort(); |
147 | 147 | } |
148 | 148 | |
@@ -467,7 +467,7 @@ discard block |
||
467 | 467 | if ($regex) { |
468 | 468 | return preg_replace_callback( |
469 | 469 | $regex, |
470 | - function ($match) { |
|
470 | + function($match) { |
|
471 | 471 | return rawurlencode($match[0]); |
472 | 472 | }, |
473 | 473 | $value |