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

SecuredController::secure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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