Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | abstract class Migration extends IlluminateMigration |
||
21 | { |
||
22 | /** |
||
23 | * The database schema. |
||
24 | * |
||
25 | * @var \Illuminate\Support\Facades\Schema |
||
26 | */ |
||
27 | protected $schema; |
||
28 | |||
29 | public function __construct() |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Get the migration connection name. |
||
36 | * |
||
37 | * @return null|string |
||
38 | */ |
||
39 | public function getConnection(): ?string |
||
44 |
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..