@@ -123,7 +123,7 @@ |
||
123 | 123 | */ |
124 | 124 | public function parse( array $conditions ) |
125 | 125 | { |
126 | - if( ($cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
126 | + if( ( $cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
127 | 127 | $this->conditions[] = $cond; |
128 | 128 | } |
129 | 129 |
@@ -109,7 +109,7 @@ |
||
109 | 109 | */ |
110 | 110 | public function parse( array $conditions ) |
111 | 111 | { |
112 | - if( ($cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
112 | + if( ( $cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
113 | 113 | $this->conditions[] = $cond; |
114 | 114 | } |
115 | 115 |
@@ -90,7 +90,7 @@ |
||
90 | 90 | */ |
91 | 91 | public function parse( array $conditions ) |
92 | 92 | { |
93 | - if( ($cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
93 | + if( ( $cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
94 | 94 | $this->conditions[] = $cond; |
95 | 95 | } |
96 | 96 |
@@ -143,7 +143,7 @@ |
||
143 | 143 | */ |
144 | 144 | public function parse( array $conditions ) |
145 | 145 | { |
146 | - if( ($cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
146 | + if( ( $cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
147 | 147 | $this->conditions[] = $cond; |
148 | 148 | } |
149 | 149 |
@@ -156,7 +156,7 @@ |
||
156 | 156 | */ |
157 | 157 | public function parse( array $conditions ) |
158 | 158 | { |
159 | - if( ($cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
159 | + if( ( $cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
160 | 160 | $this->conditions[] = $cond; |
161 | 161 | } |
162 | 162 |
@@ -119,7 +119,7 @@ |
||
119 | 119 | */ |
120 | 120 | public function parse( array $conditions ) |
121 | 121 | { |
122 | - if( ($cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
122 | + if( ( $cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
123 | 123 | $this->conditions[] = $cond; |
124 | 124 | } |
125 | 125 |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | */ |
230 | 230 | public function parse( array $conditions ) |
231 | 231 | { |
232 | - if( ($cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
232 | + if( ( $cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
233 | 233 | $this->conditions[] = $cond; |
234 | 234 | } |
235 | 235 | |
@@ -479,7 +479,7 @@ discard block |
||
479 | 479 | return []; |
480 | 480 | } |
481 | 481 | |
482 | - $list = [ $item->getId() ]; |
|
482 | + $list = [$item->getId()]; |
|
483 | 483 | |
484 | 484 | foreach( $item->getChildren() as $child ) { |
485 | 485 | $list = array_merge( $list, $this->getCatalogIdsFromTree( $child ) ); |
@@ -129,7 +129,7 @@ |
||
129 | 129 | */ |
130 | 130 | public function parse( array $conditions ) |
131 | 131 | { |
132 | - if( ($cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
132 | + if( ( $cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
133 | 133 | $this->conditions[] = $cond; |
134 | 134 | } |
135 | 135 |
@@ -149,7 +149,7 @@ |
||
149 | 149 | */ |
150 | 150 | public function parse( array $conditions ) |
151 | 151 | { |
152 | - if( ($cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
152 | + if( ( $cond = $this->filter->toConditions( $conditions ) ) !== null ) { |
|
153 | 153 | $this->conditions[] = $cond; |
154 | 154 | } |
155 | 155 |