Completed
Push — master ( 1572ce...6c5077 )
by Christian
01:34
created

src/Definition/DefintionManagerInterface.php (1 issue)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * (c) Christian Gripp <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Core23\SitemapBundle\Definition;
13
14
interface DefintionManagerInterface
15
{
16
    /**
17
     * Returns the sitemaps.
18
     *
19
     * @return array<string, SitemapDefinitionInterface>
0 ignored issues
show
The doc-type array<string, could not be parsed: Expected ">" at position 5, but found "end of type". (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
20
     */
21
    public function getAll(): array;
22
23
    /**
24
     * Adds a sitemap definition.
25
     *
26
     * @param string $id
27
     * @param array  $configuration
28
     *
29
     * @return self
30
     */
31
    public function addDefinition(string $id, array $configuration = []): self;
32
}
33