GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#24)
by Christian
05:25
created

DemoSitemap::configureSettings()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/*
4
 * (c) Christian Gripp <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Core23\SitemapBundle\Tests\App\Sitemap;
11
12
use Core23\SitemapBundle\Definition\SitemapDefinitionInterface;
13
use Core23\SitemapBundle\Model\Url;
14
use Core23\SitemapBundle\Sitemap\SitemapServiceInterface;
15
use Symfony\Component\OptionsResolver\OptionsResolver;
16
17
final class DemoSitemap implements SitemapServiceInterface
18
{
19
    public function configureSettings(OptionsResolver $resolver): void
20
    {
21
    }
22
23
    public function execute(SitemapDefinitionInterface $sitemap): array
24
    {
25
        return [
26
            new Url('example.com'),
27
        ];
28
    }
29
}
30