Remove dumps

This commit is contained in:
Tim 2021-11-04 23:15:28 +01:00
parent aaa1c96d95
commit 8b418d78c1
2 changed files with 1 additions and 5 deletions

View File

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

View File

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