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

@@ -54,7 +54,7 @@ class UrlShortenerTest extends TestCase
$this->em->persist(Argument::any())->will(function ($arguments) {
/** @var ShortUrl $shortUrl */
$shortUrl = $arguments[0];
$shortUrl->setId(10);
$shortUrl->setId('10');
});
$repo = $this->prophesize(ObjectRepository::class);
$repo->findOneBy(Argument::any())->willReturn(null);