Skip to content

Commit 0a258f9

Browse files
authored
Apply fixes from StyleCI
2 parents 0ca22a5 + df25c81 commit 0a258f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Traits/HandlesAuthentication.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function getRedirect(?string $redirectUrl = null, array $scopes = []): st
4848
throw new \InvalidArgumentException('A valid redirect URL is required');
4949
}
5050

51-
$scopes = !empty($scopes) ? $scopes : ($this->config['scopes'] ?? ['email', 'public_profile']);
51+
$scopes = ! empty($scopes) ? $scopes : ($this->config['scopes'] ?? ['email', 'public_profile']);
5252

5353
return $this->getLoginHelper()->getLoginUrl($url, $scopes);
5454
}

tests/FacebookTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function testItGetsAnAccessToken()
130130

131131
/** @var \Facebook\Facebook|\Mockery\MockInterface $base */
132132
$base = m::mock(BaseFacebook::class, [array_merge($this->config, [
133-
'persistent_data_handler' => $persistentDataHandler
133+
'persistent_data_handler' => $persistentDataHandler,
134134
])])->makePartial();
135135

136136
$oAuth2Client = new FooOAuth2Client($base->getApplication(), $base->getClient(), 'v1337');

0 commit comments

Comments
 (0)