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.

AbstractExpression::isNegate()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * @link https://github.com/old-town/old-town-workflow
4
 * @author  Malofeykin Andrey  <[email protected]>
5
 */
6
namespace OldTown\Workflow\Query;
7
8
/**
9
 * Class AbstractExpression
10
 * @package OldTown\Workflow\Query
11
 */
12
abstract class AbstractExpression
13
{
14
    /**
15
     *
16
     * @var bool
17
     */
18
    protected $negate = false;
19
20
    /**
21
     * @return boolean
22
     */
23 4
    public function isNegate()
24
    {
25 4
        return $this->negate;
26
    }
27
28
    /**
29
     * Флаг определяющий есть ли вложенные свойства
30
     *
31
     * @return boolean
32
     */
33
    abstract public function isNested();
34
}
35