File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ' );
You can’t perform that action at this time.
0 commit comments