Completed
Push — master ( b69735...6d6276 )
by John
05:05
created

SecuredController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 18
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A secure() 0 4 1
A unsecured() 0 4 1
1
<?php declare(strict_types = 1);
2
/*
3
 * This file is part of the KleijnWeb\SwaggerBundle package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
9
namespace KleijnWeb\SwaggerBundle\Tests\Functional\PetStore\Controller;
10
11
/**
12
 * @author John Kleijn <[email protected]>
13
 */
14
class SecuredController
15
{
16
    /**
17
     * @return string
18
     */
19
    public function secure(): string
20
    {
21
        return 'SECURED CONTENT';
22
    }
23
24
    /**
25
     * @return string
26
     */
27
    public function unsecured(): string
28
    {
29
        return 'UNSECURED CONTENT';
30
    }
31
}
32