Skip to content

Commit a49dbe7

Browse files
authored
Merge pull request #17 from MatthewLoffredo/bug-fix
Fix "Too few arguments" error for Resource class
2 parents 3474cd9 + df584f6 commit a49dbe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Support/Resource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Resource
1212

1313
public $client;
1414

15-
public function __construct(Entry $client, $attributes = [])
15+
public function __construct(Entry $client = null, $attributes = [])
1616
{
1717
$this->client = $client;
1818

0 commit comments

Comments
 (0)