From 8b418d78c1cbabd61dc107a401537dba5869e57f Mon Sep 17 00:00:00 2001 From: tim Date: Thu, 4 Nov 2021 23:15:28 +0100 Subject: [PATCH] Remove dumps --- src/Objects/OrderArticle.php | 5 +---- src/Objects/OrderLine.php | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Objects/OrderArticle.php b/src/Objects/OrderArticle.php index fe99978..f46f69f 100644 --- a/src/Objects/OrderArticle.php +++ b/src/Objects/OrderArticle.php @@ -8,9 +8,6 @@ use Ardent\PicnicApi\Client; class OrderArticle extends AbstractApiObject implements ArticleInterface { - /** - * OrderArticle constructor. - */ public function __construct( private string $id, private string $name, @@ -31,7 +28,7 @@ class OrderArticle extends AbstractApiObject implements ArticleInterface static public function fromApi(array $apiObject): AbstractApiObject { - dump($apiObject); +// dump($apiObject); return new self( $apiObject['id'], $apiObject['name'], diff --git a/src/Objects/OrderLine.php b/src/Objects/OrderLine.php index 1883642..7d2c79a 100644 --- a/src/Objects/OrderLine.php +++ b/src/Objects/OrderLine.php @@ -25,7 +25,6 @@ class OrderLine extends AbstractApiObject static public function fromApi(array $apiObject): AbstractApiObject { -// dump($apiObject); return new self( $apiObject['id'], ApiListTransformer::getObjects($apiObject['items']),