@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | $this->_p = TPropertyValue::ensureInteger($value); |
| 117 | 117 | $this->setDefaultPriority($this->_dp); |
| 118 | 118 | $_d = []; |
| 119 | - foreach(array_keys($this->_d) as $priority) { |
|
| 119 | + foreach (array_keys($this->_d) as $priority) { |
|
| 120 | 120 | $newPriority = $this->ensurePriority($priority); |
| 121 | 121 | if (array_key_exists($newPriority, $_d)) { |
| 122 | 122 | if ($this->getPriorityCombineStyle()) { |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | } |
| 263 | 263 | $items[] = $itemsatpriority; |
| 264 | 264 | } |
| 265 | - if(empty($items)) { |
|
| 265 | + if (empty($items)) { |
|
| 266 | 266 | return []; |
| 267 | 267 | } |
| 268 | 268 | if ($this->getPriorityCombineStyle()) { |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | } |
| 290 | 290 | $items[] = $itemsatpriority; |
| 291 | 291 | } |
| 292 | - if(empty($items)) { |
|
| 292 | + if (empty($items)) { |
|
| 293 | 293 | return []; |
| 294 | 294 | } |
| 295 | 295 | if ($this->getPriorityCombineStyle()) { |