Remove return voids and fix docblock and use orders

This commit is contained in:
Andrew Millington 2018-05-13 17:41:21 +01:00
parent cbce5f45ba
commit f8c2e721a0
2 changed files with 2 additions and 3 deletions

View File

@ -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)
{

View File

@ -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)