@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | return $this->doCreate( |
| 18 | 18 | self::ENDPOINT, |
| 19 | 19 | $item, |
| 20 | - function ($response) use ($item) { |
|
| 20 | + function($response) use ($item) { |
|
| 21 | 21 | return (new ItemMapper())->map($item, $response); |
| 22 | 22 | } |
| 23 | 23 | ); |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | return $this->doCreate( |
| 29 | 29 | self::ENDPOINT.'/batch', |
| 30 | 30 | $items, |
| 31 | - function ($response) { |
|
| 31 | + function($response) { |
|
| 32 | 32 | return (new ItemsMapper())->map(new Collections\Inventory\Items(), $response); |
| 33 | 33 | } |
| 34 | 34 | ); |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | $orderBy, |
| 48 | 48 | $order, |
| 49 | 49 | $limit, |
| 50 | - function ($response) { |
|
| 50 | + function($response) { |
|
| 51 | 51 | return (new ItemsMapper())->map(new Collections\Inventory\Items(), $response); |
| 52 | 52 | } |
| 53 | 53 | ); |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | self::ENDPOINT, |
| 60 | 60 | $orderBy, |
| 61 | 61 | $order, |
| 62 | - function ($response) { |
|
| 62 | + function($response) { |
|
| 63 | 63 | return (new ItemsMapper())->map(new Collections\Inventory\Items(), $response); |
| 64 | 64 | } |
| 65 | 65 | ); |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | $criteria, |
| 73 | 73 | $orderBy, |
| 74 | 74 | $order, |
| 75 | - function ($response) { |
|
| 75 | + function($response) { |
|
| 76 | 76 | return (new ItemsMapper())->map(new Collections\Inventory\Items(), $response); |
| 77 | 77 | } |
| 78 | 78 | ); |