@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | * http://domain.ru:80/index.php?param=1#anchor - [param => 1] |
| 44 | 44 | * @var array |
| 45 | 45 | */ |
| 46 | - protected $query = []; |
|
| 46 | + protected $query = [ ]; |
|
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * http://domain.ru:80/index.php?param=1#anchor - anchor |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | protected function setQuery($value) |
| 167 | 167 | { |
| 168 | 168 | if (empty($value)) { |
| 169 | - $this->query = []; |
|
| 169 | + $this->query = [ ]; |
|
| 170 | 170 | } elseif (is_array($value)) { |
| 171 | 171 | $this->query = $value; |
| 172 | 172 | } |