DataIsArray   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A match() 0 3 1
1
<?php
2
3
namespace Ghc\Rosetta\Matchers;
4
5
class DataIsArray extends Matcher
6
{
7
    /**
8
     * @return bool
9
     */
10
    public function match()
11
    {
12
        return is_array($this->getData());
13
    }
14
}
15