@@ -22,32 +22,32 @@ class MsGraphAdmin
2222{
2323 public function calendarEvents (): CalendarEvents
2424 {
25- return new CalendarEvents () ;
25+ return new CalendarEvents ;
2626 }
2727
2828 public function calendars (): Calendars
2929 {
30- return new Calendars () ;
30+ return new Calendars ;
3131 }
3232
3333 public function contacts (): Contacts
3434 {
35- return new Contacts () ;
35+ return new Contacts ;
3636 }
3737
3838 public function emails (): Emails
3939 {
40- return new Emails () ;
40+ return new Emails ;
4141 }
4242
4343 public function events (): Events
4444 {
45- return new Events () ;
45+ return new Events ;
4646 }
4747
4848 public function files (): Files
4949 {
50- return new Files () ;
50+ return new Files ;
5151 }
5252
5353 protected static string $ baseUrl = 'https://graph.microsoft.com/v1.0/ ' ;
@@ -136,7 +136,7 @@ public function getTokenData(): ?MsGraphToken
136136
137137 protected function storeToken (string $ access_token , string $ refresh_token , string $ expires ): MsGraphToken
138138 {
139- //Create or update a new record for admin token
139+ // Create or update a new record for admin token
140140 return MsGraphToken::updateOrCreate (['user_id ' => null ], [
141141 'email ' => 'application_token ' , // Placeholder name
142142 'access_token ' => $ access_token ,
@@ -157,7 +157,7 @@ public function __call(string $function, array $args): mixed
157157 if (in_array ($ function , $ options )) {
158158 return self ::guzzle ($ function , $ path , $ data );
159159 } else {
160- //request verb is not in the $options array
160+ // request verb is not in the $options array
161161 throw new Exception ($ function .' is not a valid HTTP Verb ' );
162162 }
163163 }
0 commit comments