Completed
Push — master ( 7ca1fe...4783ce )
by Dennis
03:08
created
src/WzClassification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         return array_merge(
61 61
             array_filter(
62 62
                 $this->items,
63
-                function (WzItemInterface $item) use ($level) {
63
+                function(WzItemInterface $item) use ($level) {
64 64
                     return $item->getLevel() == $level;
65 65
                 }));
66 66
     }
Please login to merge, or discard this patch.
src/Factory/WzClassificationFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
         ];
76 76
 
77 77
         foreach ($xml->xpath('//Item') as $xmlItem) {
78
-            $itemId = (string)$xmlItem['id'];
79
-            $itemLevel = (int)$xmlItem['idLevel'];
78
+            $itemId = (string) $xmlItem['id'];
79
+            $itemLevel = (int) $xmlItem['idLevel'];
80 80
 
81 81
             $parent = $levels[$itemLevel - 1];
82 82
             $current = new WzItem(
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         $labels = [];
102 102
 
103 103
         foreach ($xmlItem->xpath('Label[@qualifier="Usual"]/LabelText') as $label) {
104
-            $labels[strtolower($label['language'])] = (string)$label;
104
+            $labels[strtolower($label['language'])] = (string) $label;
105 105
         }
106 106
 
107 107
         return $labels;
Please login to merge, or discard this patch.