Completed
Push — v2 ( 58f91a...3b3087 )
by Joschi
05:06
created
src/Micrometa/Ports/Item/AbstractItemList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     {
149 149
         return (object)[
150 150
             'items' => array_map(
151
-                function (ItemInterface $item) {
151
+                function(ItemInterface $item) {
152 152
                     return $item->toObject();
153 153
                 }, $this->items
154 154
             )
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
         if (count($types)) {
192 192
             return array_filter(
193 193
                 $this->items,
194
-                function (ItemInterface $item) use ($types) {
194
+                function(ItemInterface $item) use ($types) {
195 195
                     return $item->isOfType(...$types);
196 196
                 }
197 197
             );
Please login to merge, or discard this patch.
src/Micrometa/Application/Item/Item.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,14 +112,14 @@
 block discarded – undo
112 112
         return (object)[
113 113
             'format' => $this->getFormat(),
114 114
             'types' => array_map(
115
-                function ($type) {
115
+                function($type) {
116 116
                     return $type->profile.$type->name;
117 117
                 },
118 118
                 $this->getType()
119 119
             ),
120 120
             'properties' => $this->getProperties()->export(),
121 121
             'items' => array_map(
122
-                function (ItemInterface $item) {
122
+                function(ItemInterface $item) {
123 123
                     return $item->export();
124 124
                 },
125 125
                 $this->getChildren()
Please login to merge, or discard this patch.
src/Micrometa/Application/Item/PropertyList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
             $profiledName = $iri->profile.$iri->name;
107 107
             $cursor = $this->nameToCursor[$profiledName];
108 108
             $propertyList[$profiledName] = array_map(
109
-                function (ExportableInterface $value) {
109
+                function(ExportableInterface $value) {
110 110
                     return $value->export();
111 111
                 }, $this->values[$cursor]
112 112
             );
Please login to merge, or discard this patch.