Skip to content

Commit f99c165

Browse files
committed
NGSTACK-1000 apply some php-cs-fixer fixes
1 parent 9825a71 commit f99c165

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bundle/MetaTag/Collector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public function collect(Content $content): array
5454
foreach ($newMetaTags as $metaTag) {
5555
if (!$metaTag instanceof Item) {
5656
throw new LogicException(
57-
'\'' . $handler['handler'] . '\' handler returned wrong value.' .
58-
' Expected \'Netgen\Bundle\OpenGraphBundle\MetaTag\Item\', got \'' . get_class($metaTag) . '\'.',
57+
'\'' . $handler['handler'] . '\' handler returned wrong value.'
58+
. ' Expected \'Netgen\Bundle\OpenGraphBundle\MetaTag\Item\', got \'' . get_class($metaTag) . '\'.',
5959
);
6060
}
6161

tests/Handler/RegistryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ protected function setUp(): void
2020

2121
public function testAddingHandlers(): void
2222
{
23-
$handler = $this->createStub(HandlerInterface::class);
23+
$handler = self::createStub(HandlerInterface::class);
2424
$this->registry->addHandler('some_handler', $handler);
2525

2626
self::assertSame($this->registry->getHandler('some_handler'), $handler);
2727
}
2828

2929
public function testGettingHandlers(): void
3030
{
31-
$handler = $this->createStub(HandlerInterface::class);
31+
$handler = self::createStub(HandlerInterface::class);
3232
$this->registry->addHandler('some_handler', $handler);
3333

3434
$returnedHandler = $this->registry->getHandler('some_handler');

0 commit comments

Comments
 (0)