Skip to content

Commit 44da272

Browse files
committed
Made client optional
1 parent aaaeffb commit 44da272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Model/AbstractModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function getClient()
1717
return $this->_client;
1818
}
1919

20-
public function setClient(Client $client)
20+
public function setClient(Client $client = null)
2121
{
2222
if (null !== $client) {
2323
$this->_client = $client;

0 commit comments

Comments
 (0)