ThemesClass::echoPhrase()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 5
ccs 0
cts 4
cp 0
rs 9.4285
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
namespace redsevensquared\themes;
3
4
class ThemesClass
5
{
6
    /**
7
     * Create a new Skeleton Instance
8
     */
9
    public function __construct()
10
    {
11
        // constructor body
12
    }
13
14
    /**
15
     * Friendly welcome
16
     *
17
     * @param string $phrase Phrase to return
18
     *
19
     * @return string Returns the phrase passed in
20
     */
21
    public function echoPhrase($phrase)
22
    {
23
        // return of $phrase, not a turn of phrase
24
        return $phrase;
25
    }
26
}
27