@@ -33,6 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Salesforce constructor. |
36 | + * @param \GuzzleHttp\Client $client |
|
36 | 37 | */ |
37 | 38 | public function __construct($client, SalesforceAuth $auth) |
38 | 39 | { |
@@ -139,7 +140,7 @@ discard block |
||
139 | 140 | /** |
140 | 141 | * Run Salesforce query. |
141 | 142 | * |
142 | - * @param $query |
|
143 | + * @param string $query |
|
143 | 144 | * |
144 | 145 | * @return mixed |
145 | 146 | */ |
@@ -190,7 +191,7 @@ discard block |
||
190 | 191 | /** |
191 | 192 | * Create record. |
192 | 193 | * |
193 | - * @param $type |
|
194 | + * @param string $type |
|
194 | 195 | * @param array $data |
195 | 196 | * |
196 | 197 | * @throws SalesforceException |
@@ -217,7 +218,7 @@ discard block |
||
217 | 218 | /** |
218 | 219 | * Update record. |
219 | 220 | * |
220 | - * @param $type |
|
221 | + * @param string $type |
|
221 | 222 | * @param $id |
222 | 223 | * @param array $data |
223 | 224 | * |
@@ -253,7 +254,7 @@ discard block |
||
253 | 254 | /** |
254 | 255 | * Delete. |
255 | 256 | * |
256 | - * @param $type |
|
257 | + * @param string $type |
|
257 | 258 | * @param $id |
258 | 259 | * |
259 | 260 | * @throws SalesforceException |
@@ -11,7 +11,7 @@ |
||
11 | 11 | |
12 | 12 | public function register() |
13 | 13 | { |
14 | - $this->app->singleton('salesforce', function ($app) { |
|
14 | + $this->app->singleton('salesforce', function($app) { |
|
15 | 15 | $authClient = new Client([ |
16 | 16 | 'headers' => [ |
17 | 17 | 'Accept' => 'application/json', |