Completed
Push — develop ( e58221...7a35e1 )
by Jaap
08:17 queued 01:05
created

return.php ➔ getReturnWithoutAny()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
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-2017 Mike van Riel<[email protected]>
9
 * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
 * @link      http://phpdoc.org
11
 */
12
13
final class ReturnTag
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
14
{
15
    public function get(): int
16
    {
17
    }
18
19
    /**
20
     * @return string description
21
     */
22
    public function getReturnWithDefinedReturn(): string
23
    {
24
    }
25
26
    public function getReturnWithoutAny()
27
    {
28
29
    }
30
31
    /**
32
     *
33
     * @return string some value
34
     */
35
    public function getReturnDescription()
36
    {
37
38
    }
39
}
40
41
function get(): int
42
{
43
}
44
45
/**
46
 * @return string description
47
 */
48
function getReturnWithDefinedReturn(): string
49
{
50
}
51
52
function getReturnWithoutAny()
53
{
54
55
}
56
57
/**
58
 *
59
 * @return string some value
60
 */
61
function getReturnDescription()
62
{
63
64
}
65