Skip to content

Commit df584f6

Browse files
fix setting client attribute causing error
1 parent 7d401e6 commit df584f6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Support/Resource.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use MacsiDigital\API\Traits\HasAttributes;
66
use MacsiDigital\API\Traits\HasRelationships;
77
use MacsiDigital\API\Traits\HidesAttributes;
8-
use MacsiDigital\API\Support\Entry as EntryClass;
98

109
class Resource
1110
{
@@ -15,7 +14,6 @@ class Resource
1514

1615
public function __construct(Entry $client = null, $attributes = [])
1716
{
18-
if (!$client) $this->client = new EntryClass;
1917
$this->client = $client;
2018

2119
$this->syncOriginal();

0 commit comments

Comments
 (0)