Skip to content

Commit

Permalink
Fix return typehint in test trait (#30)
Browse files Browse the repository at this point in the history
See https://bugs.php.net/bug.php?id=75449 as to why this didn't come up
  • Loading branch information
Firehed authored Apr 30, 2018
1 parent c3f8726 commit 95f4ea1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Traits/EndpointTestCases.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Firehed\API\Traits;

use Firehed\API\Interfaces\EndpointInterface;
use Firehed\Input\Interfaces\ValidationInterface;
use Firehed\Input\ValidationTestTrait;

Expand All @@ -22,7 +23,7 @@ trait EndpointTestCases
* Get the endpoint under test
* @return Interfaces\EndpointInterface
*/
abstract protected function getEndpoint(): Interfaces\EndpointInterface;
abstract protected function getEndpoint(): EndpointInterface;

/**
* Because EndpointInterface extends ValidationInterface, provide the same
Expand Down

0 comments on commit 95f4ea1

Please sign in to comment.