@@ -114,7 +114,7 @@ |
||
114 | 114 | '<loc>'.$url->getLoc().'</loc>'. |
115 | 115 | (null !== $url->getLastMod() ? '<lastmod>'.$url->getLastMod()->format('c').'</lastmod>' : ''). |
116 | 116 | (null !== $url->getChangeFreq() ? '<changefreq>'.$url->getChangeFreq().'</changefreq>' : ''). |
117 | - (null !== $url->getPriority() ? '<priority>'.$url->getPriority().'</priority>' : ''). |
|
117 | + (null !== $url->getPriority() ? '<priority>'.$url->getPriority().'</priority>' : ''). |
|
118 | 118 | '</url>'; |
119 | 119 | } |
120 | 120 | } |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $manager = new SitemapServiceManager([ |
50 | 50 | 'my-type' => $service, |
51 | 51 | ]); |
52 | - $result = $manager->get($definition); |
|
52 | + $result = $manager->get($definition); |
|
53 | 53 | |
54 | 54 | static::assertInstanceOf(SitemapServiceInterface::class, $result); |
55 | 55 | static::assertSame([ |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | $manager = new SitemapServiceManager([ |
75 | 75 | 'my-type' => $service, |
76 | 76 | ]); |
77 | - $result = $manager->get($definition); |
|
77 | + $result = $manager->get($definition); |
|
78 | 78 | |
79 | 79 | static::assertInstanceOf(SitemapServiceInterface::class, $result); |
80 | 80 | static::assertSame([ |
@@ -48,7 +48,7 @@ |
||
48 | 48 | |
49 | 49 | public function testProcess(): void |
50 | 50 | { |
51 | - $this->serviceManager->addMethodCall('addSitemap', Argument::that(static function ($args) { |
|
51 | + $this->serviceManager->addMethodCall('addSitemap', Argument::that(static function($args) { |
|
52 | 52 | return 'acme.sitemap' === $args[0] && $args[1] instanceof Reference; |
53 | 53 | })) |
54 | 54 | ->shouldBeCalled() |