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   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 23
ccs 2
cts 2
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A isNegate() 0 4 1
isNested() 0 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