@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function __construct($direction) |
27 | 27 | { |
28 | - $direction = (string)strtoupper($direction); |
|
28 | + $direction = (string) strtoupper($direction); |
|
29 | 29 | $this->assert($direction); |
30 | 30 | $this->direction = $direction; |
31 | 31 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | */ |
64 | 64 | public function __toString() |
65 | 65 | { |
66 | - return (string)$this->direction; |
|
66 | + return (string) $this->direction; |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | public function add($field) |
39 | 39 | { |
40 | - $this->fields[] = (string)$field; |
|
40 | + $this->fields[] = (string) $field; |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
@@ -45,6 +45,6 @@ discard block |
||
45 | 45 | */ |
46 | 46 | public function get() |
47 | 47 | { |
48 | - return (array)$this->fields; |
|
48 | + return (array) $this->fields; |
|
49 | 49 | } |
50 | 50 | } |
@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | */ |
82 | 82 | protected function addFilter($property, $filterName, $value) |
83 | 83 | { |
84 | - $filterName = (string)$filterName; |
|
85 | - $property = (string)$property; |
|
84 | + $filterName = (string) $filterName; |
|
85 | + $property = (string) $property; |
|
86 | 86 | |
87 | 87 | $this->filters[$property][$filterName][] = $value; |
88 | 88 | } |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | */ |
135 | 135 | public function includesGroup($filterName, array $value) |
136 | 136 | { |
137 | - $filterName = (string)$filterName; |
|
137 | + $filterName = (string) $filterName; |
|
138 | 138 | |
139 | 139 | $this->filters[self::GROUP][$filterName] = array_merge( |
140 | 140 | (!empty($this->filters[self::GROUP][$filterName])) ? $this->filters[self::GROUP][$filterName] : [], |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | */ |
153 | 153 | public function notIncludesGroup($filterName, array $value) |
154 | 154 | { |
155 | - $filterName = (string)$filterName; |
|
155 | + $filterName = (string) $filterName; |
|
156 | 156 | |
157 | 157 | $this->filters[self::NOT_GROUP][$filterName] = array_merge( |
158 | 158 | (!empty($this->filters[self::NOT_GROUP][$filterName])) ? $this->filters[self::NOT_GROUP][$filterName] : [], |