File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010 ],
1111 "require" : {
1212 "php" : " >=5.5.9" ,
13- "illuminate/support" : " 5.*| 6.*" ,
14- "laravel/socialite" : " ^3.0|^ 4.0" ,
13+ "illuminate/support" : " 6.*" ,
14+ "laravel/socialite" : " ^4.0" ,
1515 "knplabs/github-api" : " ^2.9" ,
1616 "php-http/guzzle6-adapter" : " ^1.1" ,
1717 "graham-campbell/github" : " ^8.6"
Original file line number Diff line number Diff line change 66use Illuminate \Support \Facades \Cache ;
77use Illuminate \Support \Facades \Log ;
88use Laravel \Socialite \Facades \Socialite ;
9- use Http \ Adapter \ Guzzle6 \ Client as GuzzleClient ;
9+ use Illuminate \ Support \ Arr ;
1010use GrahamCampbell \GitHub \Facades \GitHub ;
1111use Mockery \CountValidator \Exception ;
1212use Friendsofcat \GitHubTeamAuth \Organization ;
@@ -184,7 +184,7 @@ private function dbTeamsExist()
184184 */
185185 private function verifyPermissionResponse ($ response_body )
186186 {
187- if (array_get ($ response_body , 'state ' , null ) !== "active " ) {
187+ if (Arr:: get ($ response_body , 'state ' , null ) !== "active " ) {
188188 throw new \Exception ("The user is not active in the git team " );
189189 }
190190 }
You can’t perform that action at this time.
0 commit comments