Total Complexity | 4 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
19 | final class PaginationDataHandlerSpec extends ObjectBehavior |
||
20 | { |
||
21 | function let(): void |
||
|
|||
22 | { |
||
23 | $this->beConstructedWith( |
||
24 | 9, |
||
25 | ); |
||
26 | } |
||
27 | |||
28 | function it_is_initializable(): void |
||
29 | { |
||
30 | $this->shouldHaveType(PaginationDataHandler::class); |
||
31 | } |
||
32 | |||
33 | function it_implements_pagination_data_handler_interface(): void |
||
36 | } |
||
37 | |||
38 | function it_retrieves_data(): void |
||
43 | ]); |
||
44 | } |
||
46 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.