Remove dumps
This commit is contained in:
		| @@ -8,9 +8,6 @@ use Ardent\PicnicApi\Client; | |||||||
|  |  | ||||||
| class OrderArticle extends AbstractApiObject implements ArticleInterface | class OrderArticle extends AbstractApiObject implements ArticleInterface | ||||||
| { | { | ||||||
|     /** |  | ||||||
|      * OrderArticle constructor. |  | ||||||
|      */ |  | ||||||
|     public function __construct( |     public function __construct( | ||||||
|         private string     $id, |         private string     $id, | ||||||
|         private string     $name, |         private string     $name, | ||||||
| @@ -31,7 +28,7 @@ class OrderArticle extends AbstractApiObject implements ArticleInterface | |||||||
|  |  | ||||||
|     static public function fromApi(array $apiObject): AbstractApiObject |     static public function fromApi(array $apiObject): AbstractApiObject | ||||||
|     { |     { | ||||||
|         dump($apiObject); | //        dump($apiObject); | ||||||
|         return new self( |         return new self( | ||||||
|             $apiObject['id'], |             $apiObject['id'], | ||||||
|             $apiObject['name'], |             $apiObject['name'], | ||||||
|   | |||||||
| @@ -25,7 +25,6 @@ class OrderLine extends AbstractApiObject | |||||||
|  |  | ||||||
|     static public function fromApi(array $apiObject): AbstractApiObject |     static public function fromApi(array $apiObject): AbstractApiObject | ||||||
|     { |     { | ||||||
| //        dump($apiObject); |  | ||||||
|         return new self( |         return new self( | ||||||
|             $apiObject['id'], |             $apiObject['id'], | ||||||
|             ApiListTransformer::getObjects($apiObject['items']), |             ApiListTransformer::getObjects($apiObject['items']), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user