Normalized entities adding missing type hints and removing superfluous comments

This commit is contained in:
Alejandro Celaya
2018-09-15 10:03:42 +02:00
parent 4f2146dd9c
commit 07165f344f
9 changed files with 78 additions and 247 deletions

View File

@@ -55,7 +55,7 @@ class AuthenticateActionTest extends TestCase
*/
public function properApiKeyReturnsTokenInResponse()
{
$this->apiKeyService->getByKey('foo')->willReturn((new ApiKey())->setId(5))
$this->apiKeyService->getByKey('foo')->willReturn((new ApiKey())->setId('5'))
->shouldBeCalledTimes(1);
$request = ServerRequestFactory::fromGlobals()->withParsedBody([