Passed
Push — main ( 7f530d...7aae9b )
by Thierry
05:54
created

PageComponent   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 24
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A count() 0 3 1
A limit() 0 3 1
A html() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Jaxon\Annotations\Tests\Attr\Ajax\Component;
5
6
use Jaxon\Annotations\Tests\Attr\PageComponent as BaseComponent;
7
8
class PageComponent extends BaseComponent
9
{
10
    /**
11
     * @return int
12
     */
13
    protected function count(): int
14
    {
15
        return 0;
16
    }
17
18
    /**
19
     * @return int
20
     */
21
    protected function limit(): int
22
    {
23
        return 0;
24
    }
25
26
    /**
27
     * @return string
28
     */
29
    public function html(): string
30
    {
31
        return '';
32
    }
33
}
34