Skip to content

Commit

Permalink
Add a coding standards GA to fix code with Laravel Pint. (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot authored Aug 30, 2023
1 parent 16f5be6 commit 2b9fd14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function getScopes()
*/
private function getSlackApiErrorMiddleware()
{
return fn(callable $handler) => function ($request, array $options) use ($handler) {
return fn (callable $handler) => function ($request, array $options) use ($handler) {
if (empty($options['http_errors'])) {
return $handler($request, $options);
}
Expand Down Expand Up @@ -65,7 +65,7 @@ protected function getHttpClient()
$handler = HandlerStack::create();
$handler->push($this->getSlackApiErrorMiddleware(), 'slack_api_errors');

if (is_null($this->httpClient)) {
if ($this->httpClient === null) {
$this->httpClient = new Client(['handler' => $handler]);
}

Expand Down
2 changes: 1 addition & 1 deletion SlackExtendSocialite.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class SlackExtendSocialite
/**
* Register the provider.
*
* @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled
* @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled
*/
public function handle(SocialiteWasCalled $socialiteWasCalled)
{
Expand Down

0 comments on commit 2b9fd14

Please sign in to comment.