Item
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 0
dl 0
loc 12
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
isDir() 0 1 ?
isFile() 0 1 ?
1
<?php
2
3
namespace IQParts\Content\Object;
4
5
/**
6
 * Class Item
7
 * @package IQParts\Content\Object
8
 */
9
abstract class Item
10
{
11
    /**
12
     * @return bool
13
     */
14
    abstract function isDir(): bool;
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
15
16
    /**
17
     * @return bool
18
     */
19
    abstract function isFile(): bool;
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
20
}