@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | return $this->doCreate( |
| 16 | 16 | self::ENDPOINT, |
| 17 | 17 | $product, |
| 18 | - function ($response) use ($product) { |
|
| 18 | + function($response) use ($product) { |
|
| 19 | 19 | return (new ProductMapper())->map($product, $response); |
| 20 | 20 | } |
| 21 | 21 | ); |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | return $this->doUpdate( |
| 28 | 28 | self::ENDPOINT."/{$product->getId()}", |
| 29 | 29 | $product, |
| 30 | - function ($response) use ($product) { |
|
| 30 | + function($response) use ($product) { |
|
| 31 | 31 | return (new ProductMapper())->map($product, $response); |
| 32 | 32 | } |
| 33 | 33 | ); |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | $orderBy, |
| 41 | 41 | $order, |
| 42 | 42 | $limit, |
| 43 | - function ($response) { |
|
| 43 | + function($response) { |
|
| 44 | 44 | return (new ProductsMapper())->map(new Collections\Products(), $response); |
| 45 | 45 | } |
| 46 | 46 | ); |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | self::ENDPOINT, |
| 53 | 53 | $orderBy, |
| 54 | 54 | $order, |
| 55 | - function ($response) { |
|
| 55 | + function($response) { |
|
| 56 | 56 | return (new ProductsMapper())->map(new Collections\Products(), $response); |
| 57 | 57 | } |
| 58 | 58 | ); |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | $criteria, |
| 66 | 66 | $orderBy, |
| 67 | 67 | $order, |
| 68 | - function ($response) { |
|
| 68 | + function($response) { |
|
| 69 | 69 | return (new ProductsMapper())->map(new Collections\Products(), $response); |
| 70 | 70 | } |
| 71 | 71 | ); |