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 * Set the server request that is responsible for generating the exception
* *
* @return void * @param ServerRequest $serverRequest
*/ */
public function setServerRequest($serverRequest) public function setServerRequest($serverRequest)
{ {

View File

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