mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-25 06:30:13 +05:30
Remove return voids and fix docblock and use orders
This commit is contained in:
parent
cbce5f45ba
commit
f8c2e721a0
@ -93,7 +93,7 @@ class OAuthServerException extends \Exception
|
||||
/**
|
||||
* Set the server request that is responsible for generating the exception
|
||||
*
|
||||
* @return void
|
||||
* @param ServerRequest $serverRequest
|
||||
*/
|
||||
public function setServerRequest($serverRequest)
|
||||
{
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use League\OAuth2\Server\Exception\OAuthServerException;
|
||||
use League\OAuth2\Server\Grant\AbstractGrant;
|
||||
use League\OAuth2\Server\Repositories\ClientRepositoryInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Zend\Diactoros\Response;
|
||||
use Zend\Diactoros\ServerRequest;
|
||||
|
||||
@ -45,7 +45,6 @@ class OAuthServerExceptionTest extends TestCase
|
||||
/**
|
||||
* Issue an invalid client exception
|
||||
*
|
||||
* @return void
|
||||
* @throws OAuthServerException
|
||||
*/
|
||||
private function issueInvalidClientException($serverRequest)
|
||||
|
Loading…
Reference in New Issue
Block a user