Completed
Push — master ( 022616...175363 )
by Alex
08:53
created

TestingController::controllerResult()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
namespace Mezon\Application\Tests;
3
4
use Mezon\Application\Controller;
5
6
class TestingController extends Controller
0 ignored issues
show
Deprecated Code introduced by
The class Mezon\Application\Controller has been deprecated: since 2020-06-26 ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

6
class TestingController extends /** @scrutinizer ignore-deprecated */ Controller
Loading history...
7
{
8
9
    public function controllerTest(): string
10
    {
11
        return 'computed content';
12
    }
13
    
14
    public function controllerTest2(): string
15
    {
16
        return 'computed content 2';
17
    }
18
19
    public $wasCalled = false;
20
    
21
    public function controllerResult(): void
22
    {
23
        $this->wasCalled = true;
24
    }
25
}
26