| 1 | <?php |
||
| 9 | abstract class Migration implements MigrationContract |
||
| 10 | { |
||
| 11 | /** @var \Illuminate\Database\Capsule\Manager */ |
||
| 12 | protected $manager; |
||
| 13 | |||
| 14 | /** @var \Wandu\Database\Configuration */ |
||
| 15 | protected $config; |
||
| 16 | |||
| 17 | public function __construct(Manager $manager, Configuration $config) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritdoc} |
||
| 25 | */ |
||
| 26 | public function up() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function down() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param \Illuminate\Database\Schema\Builder $schema |
||
| 41 | */ |
||
| 42 | abstract public function migrate(Builder $schema); |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param \Illuminate\Database\Schema\Builder $schema |
||
| 46 | */ |
||
| 47 | abstract public function rollback(Builder $schema); |
||
| 48 | } |
||
| 49 |
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..