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 — master ( 42c65a...a98f71 )
by
unknown
07:18
created

Policy   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 13
ccs 0
cts 2
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPolicyText() 0 4 1
1
<?php
2
namespace Dkd\PhpCmis\DataObjects;
3
4
/**
5
 * This file is part of php-cmis-lib.
6
 *
7
 * (c) Sascha Egerer <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
use Dkd\PhpCmis\Data\PolicyInterface;
14
use Dkd\PhpCmis\PropertyIds;
15
16
/**
17
 * Cmis Policy implementation
18
 */
19
class Policy extends AbstractFileableCmisObject implements PolicyInterface
20
{
21
    /**
22
     * Returns the policy text of this CMIS policy (CMIS property cmis:policyText).
23
     *
24
     * @return string|null the policy text or <code>null</code> if the property hasn't been requested,
25
     *                     hasn't been provided by the repository, or the property value isn't set
26
     */
27
    public function getPolicyText()
28
    {
29
        return $this->getPropertyValue(PropertyIds::POLICY_TEXT);
30
    }
31
}
32