| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class LimitsTraitTest extends TestCase |
||
| 23 | { |
||
| 24 | public const DEFAULT_LIMIT = 0; |
||
| 25 | public const DEFAULT_OFFSET = 0; |
||
| 26 | public const LIMIT = 10; |
||
| 27 | public const OFFSET = 15; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var LimitsTrait |
||
| 31 | */ |
||
| 32 | private $trait; |
||
| 33 | |||
| 34 | public function setUp(): void |
||
| 37 | } |
||
| 38 | |||
| 39 | public function testLimit() |
||
| 44 | } |
||
| 45 | |||
| 46 | public function testOffset() |
||
| 53 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..