ToUpper::__invoke()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
/**
3
 * Created by gerk on 20.11.17 08:43
4
 */
5
6
namespace PeekAndPoke\Component\Psi\Psi\Str;
7
8
use PeekAndPoke\Component\Psi\Psi\Map\ToString;
9
10
/**
11
 *
12
 *
13
 * @author Karsten J. Gerber <[email protected]>
14
 */
15
class ToUpper extends ToString
16
{
17
    /**
18
     * @param mixed $input
19
     *
20
     * @return mixed
21
     */
22 11
    public function __invoke($input)
23
    {
24 11
        return strtoupper(
25 11
            parent::__invoke($input)
26
        );
27
    }
28
}
29