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']),