Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 6fe2c08

Browse files
committed
:octocat: make PHPStorm stop yelling
1 parent 9708930 commit 6fe2c08

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/Providers/ProviderTestAbstract.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ public function sendRequest(RequestInterface $request):ResponseInterface{
128128
protected function getProvider():OAuthInterface{
129129
$this->reflection = new ReflectionClass($this->FQN);
130130

131-
return $this->reflection->newInstanceArgs([$this->initHttp(), $this->storage, $this->options, $this->logger]);
131+
/** @var \chillerlan\OAuth\Core\OAuthInterface $OAuthInterface */
132+
$OAuthInterface = $this->reflection->newInstanceArgs([$this->initHttp(), $this->storage, $this->options, $this->logger]);
133+
134+
return $OAuthInterface;
132135
}
133136

134137
/**

0 commit comments

Comments
 (0)