Passed
Push — master ( 213731...919d61 )
by Thomas
01:51
created

CrudColumnAbstract::limit()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
c 0
b 0
f 0
ccs 0
cts 5
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Webfactor\Laravel\Backpack\FluentSyntax\Contracts;
4
5
abstract class CrudColumnAbstract extends CrudAbstract implements CrudColumnInterface
6
{
7
    public function limit(int $limit = 50)
8
    {
9
        $this->options['limit'] = $limit;
10
11
        return $this;
12
    }
13
}
14