Fixed coding styles

This commit is contained in:
Alejandro Celaya 2022-10-22 14:41:42 +02:00
parent 52366b9dd4
commit b7671f70da
3 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ class ListShortUrlsCommandTest extends TestCase
}
$this->shortUrlService->expects($this->once())->method('listShortUrls')->with(
$this->equalTo(ShortUrlsParams::emptyInstance())
$this->equalTo(ShortUrlsParams::emptyInstance()),
)->willReturn(new Paginator(new ArrayAdapter($data)));
$this->commandTester->setInputs(['n']);

View File

@ -53,7 +53,7 @@ class ResolveUrlCommandTest extends TestCase
$shortCode = $identifier->shortCode;
$this->urlResolver->expects($this->once())->method('resolveShortUrl')->with(
$this->equalTo($identifier)
$this->equalTo($identifier),
)->willThrowException(ShortUrlNotFoundException::fromNotFound($identifier));
$this->commandTester->execute(['shortCode' => $shortCode]);

View File

@ -32,7 +32,7 @@ class ShlinkTableTest extends TestCase
$footerTitle = 'Footer';
$this->baseTable->expects($this->once())->method('setStyle')->with(
$this->isInstanceOf(TableStyle::class)
$this->isInstanceOf(TableStyle::class),
)->willReturnSelf();
$this->baseTable->expects($this->once())->method('setHeaders')->with(
$this->equalTo($headers),