Skip to content

Commit 21be3b0

Browse files
Merge pull request #4 from artjom/spelling-mistakes
corrected spelling
2 parents 7585d72 + b9e5100 commit 21be3b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/MsGraph.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ protected function guzzle($type, $request, $data = [], $id)
227227
'body' => json_encode($data),
228228
]);
229229

230-
if ($resonse == null) {
230+
if ($response == null) {
231231
return null;
232232
}
233233

src/MsGraphAdmin.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function emails()
3636
* __call catches all requests when no founf method is requested
3737
* @param $function - the verb to execute
3838
* @param $args - array of arguments
39-
* @return gizzle request
39+
* @return guzzle request
4040
*/
4141
public function __call($function, $args)
4242
{
@@ -190,7 +190,7 @@ protected function guzzle($type, $request, $data = [])
190190
'body' => json_encode($data),
191191
]);
192192

193-
if ($resonse == null) {
193+
if ($response == null) {
194194
return null;
195195
}
196196

@@ -209,7 +209,7 @@ protected static function dopost($url, $params)
209209
$client = new Client;
210210
$response = $client->post($url, ['form_params' => $params]);
211211

212-
if ($resonse == null) {
212+
if ($response == null) {
213213
return null;
214214
}
215215

0 commit comments

Comments
 (0)