@@ -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 | } |
@@ -61,9 +61,9 @@ |
||
61 | 61 | ->defaultValue([]) |
62 | 62 | ->prototype('array') |
63 | 63 | ->children() |
64 | - ->scalarNode('url')->end() |
|
65 | - ->integerNode('priority')->defaultNull()->end() |
|
66 | - ->scalarNode('changefreq')->defaultNull()->end() |
|
64 | + ->scalarNode('url')->end() |
|
65 | + ->integerNode('priority')->defaultNull()->end() |
|
66 | + ->scalarNode('changefreq')->defaultNull()->end() |
|
67 | 67 | ->end() |
68 | 68 | ->end() |
69 | 69 | ->end() |
@@ -48,7 +48,7 @@ |
||
48 | 48 | |
49 | 49 | public function testProcess(): void |
50 | 50 | { |
51 | - $this->serviceManager->addMethodCall('addSitemap', Argument::that(function ($args) { |
|
51 | + $this->serviceManager->addMethodCall('addSitemap', Argument::that(function($args) { |
|
52 | 52 | return 'acme.sitemap' === $args[0] && $args[1] instanceof Reference; |
53 | 53 | })) |
54 | 54 | ->shouldBeCalled() |
@@ -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 | $this->assertInstanceOf(SitemapServiceInterface::class, $result); |
55 | 55 | $this->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 | $this->assertInstanceOf(SitemapServiceInterface::class, $result); |
80 | 80 | $this->assertSame([ |