We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61c3e8 commit 9700eefCopy full SHA for 9700eef
src/OrgManager.php
@@ -19,7 +19,7 @@ class OrgManager
19
*/
20
public function __construct($apiToken = null, $rootUrl = 'https://orgmanager.miguelpiedrafita.com')
21
{
22
- $this->client = new Client;
+ $this->client = new Client();
23
24
$this->apiToken = $apiToken;
25
@@ -37,26 +37,26 @@ public function connect($apiToken)
37
38
return $this->apiToken;
39
}
40
-
+
41
/**
42
* @return \GuzzleHttp\Client
43
44
public function getClient()
45
46
return $this->client;
47
48
49
50
* @param \GuzzleHttp\Client $client
51
*
52
* @return void
53
54
public function setClient($client)
55
56
- if ($client instanceof Client)
57
- {
+ if ($client instanceof Client) {
58
$this->client = $client;
59
60
return $this;
61
62
0 commit comments