Completed
Push — master ( 1358d6...984c1e )
by Karsten
01:40
created

IsNotIntegerString::__invoke()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
/**
3
 * File was created 01.10.2015 18:02
4
 *
5
 * @author Karsten J. Gerber <[email protected]>
6
 */
7
namespace PeekAndPoke\Component\Psi\Psi;
8
9
/**
10
 * IsNotIntegerString check if the string contains an integer
11
 *
12
 * @author Karsten J. Gerber <[email protected]>
13
 */
14
class IsNotIntegerString extends IsIntegerString
15
{
16
    /**
17
     * @param mixed $input
18
     *
19
     * @return bool
20
     */
21 26
    public function __invoke($input)
22
    {
23 26
        return ! parent::__invoke($input);
24
    }
25
}
26