Passed
Push — master ( 1e2338...e1e446 )
by Fabio
05:44
created
framework/Collections/TPriorityCollectionTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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()) {
Please login to merge, or discard this patch.