MethodWithResource   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 12
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A isInvalid() 0 2 1
1
<?php declare(strict_types=1);
2
3
/*
4
 * This file is part of Flight Routing.
5
 *
6
 * PHP version 8.0 and above required
7
 *
8
 * @author    Divine Niiquaye Ibok <[email protected]>
9
 * @copyright 2019 Divine Niiquaye Ibok (https://divinenii.com/)
10
 * @license   https://opensource.org/licenses/BSD-3-Clause License
11
 *
12
 * For the full copyright and license information, please view the LICENSE
13
 * file that was distributed with this source code.
14
 */
15
16
namespace Flight\Routing\Tests\Fixtures\Annotation\Route\Invalid;
17
18
use Flight\Routing\Annotation\Route;
19
20
class MethodWithResource
21
{
22
    /**
23
     * @Route(
24
     *   name="method_with_resource",
25
     *   path="/method_with_resource",
26
     *   methods={"HEAD", "POST"},
27
     *   resource="action"
28
     * )
29
     */
30
    public function isInvalid(): void
31
    {
32
    }
33
}
34