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
Push — dev ( fb9f08...0e0077 )
by Андрей
10:45 queued 05:08
created

TestObject::__toString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * @link    https://github.com/old-town/old-town-workflow
4
 * @author  Malofeykin Andrey  <[email protected]>
5
 */
6
namespace OldTownWorkflowBehatTestData\VariableResolver;
7
8
/**
9
 * Class TestObject
10
 *
11
 * @package OldTownWorkflowBehatTestData\VariableResolver
12
 */
13
class TestObject
14
{
15
    /**
16
     * @return $this
17
     */
18
    public function getValue1()
19
    {
20
        return $this;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getValue2()
27
    {
28
        return 'value_2';
29
    }
30
31
    /**
32
     * @return string
33
     */
34
    public function __toString()
35
    {
36
        return 'test_string_value';
37
    }
38
}
39