mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-25 14:40:00 +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
|
* Set the server request that is responsible for generating the exception
|
||||||
*
|
*
|
||||||
* @return void
|
* @param ServerRequest $serverRequest
|
||||||
*/
|
*/
|
||||||
public function setServerRequest($serverRequest)
|
public function setServerRequest($serverRequest)
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
|
||||||
use League\OAuth2\Server\Exception\OAuthServerException;
|
use League\OAuth2\Server\Exception\OAuthServerException;
|
||||||
use League\OAuth2\Server\Grant\AbstractGrant;
|
use League\OAuth2\Server\Grant\AbstractGrant;
|
||||||
use League\OAuth2\Server\Repositories\ClientRepositoryInterface;
|
use League\OAuth2\Server\Repositories\ClientRepositoryInterface;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
use Zend\Diactoros\Response;
|
use Zend\Diactoros\Response;
|
||||||
use Zend\Diactoros\ServerRequest;
|
use Zend\Diactoros\ServerRequest;
|
||||||
|
|
||||||
@ -45,7 +45,6 @@ class OAuthServerExceptionTest extends TestCase
|
|||||||
/**
|
/**
|
||||||
* Issue an invalid client exception
|
* Issue an invalid client exception
|
||||||
*
|
*
|
||||||
* @return void
|
|
||||||
* @throws OAuthServerException
|
* @throws OAuthServerException
|
||||||
*/
|
*/
|
||||||
private function issueInvalidClientException($serverRequest)
|
private function issueInvalidClientException($serverRequest)
|
||||||
|
Loading…
Reference in New Issue
Block a user