Completed
Push — master ( 719e81...88bdcb )
by Mike
9s
created

Parent_::__toString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * This file is part of phpDocumentor.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @copyright 2010-2015 Mike van Riel<[email protected]>
9
 * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
 * @link      http://phpdoc.org
11
 */
12
13
namespace phpDocumentor\Reflection\Types;
14
15
use phpDocumentor\Reflection\Type;
16
17
/**
18
 * Value Object representing the 'parent' type.
19
 *
20
 * Parent, as a Type, represents the parent class of class in which the associated element was defined.
21
 */
22
final class Parent_ implements Type
0 ignored issues
show
Coding Style introduced by
This class is not in CamelCase format.

Classes in PHP are usually named in CamelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. The whole name starts with a capital letter as well.

Thus the name database provider becomes DatabaseProvider.

Loading history...
23
{
24
    /**
25
     * Returns a rendered output of the Type as it would be used in a DocBlock.
26
     *
27
     * @return string
28
     */
29
    public function __toString()
30
    {
31
        return 'parent';
32
    }
33
}
34