cleaniquecoders /
packager
| 1 | <?php |
||
| 2 | |||
| 3 | namespace CleaniqueCoders\Console; |
||
| 4 | |||
| 5 | use CleaniqueCoders\Console\Traits\ComposerTrait; |
||
| 6 | use CleaniqueCoders\Console\Traits\GitTrait; |
||
| 7 | use CleaniqueCoders\Console\Traits\ProjectTrait; |
||
| 8 | use CleaniqueCoders\Console\Traits\QualifiedClassNameTrait; |
||
| 9 | use Illuminate\Filesystem\Filesystem; |
||
| 10 | use Symfony\Component\Console\Command\Command; |
||
| 11 | |||
| 12 | class Commander extends Command |
||
| 13 | { |
||
| 14 | use ComposerTrait; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 15 | use ProjectTrait; |
||
| 16 | use QualifiedClassNameTrait; |
||
| 17 | use GitTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Filesystem. |
||
| 21 | * |
||
| 22 | * @var Symfony\Component\Filesystem\Filesystem |
||
|
0 ignored issues
–
show
|
|||
| 23 | */ |
||
| 24 | protected $filesystem; |
||
| 25 | |||
| 26 | public function __construct($name = null) |
||
| 27 | { |
||
| 28 | parent::__construct($name); |
||
| 29 | $this->filesystem = new Filesystem(); |
||
|
0 ignored issues
–
show
It seems like
new Illuminate\Filesystem\Filesystem() of type Illuminate\Filesystem\Filesystem is incompatible with the declared type CleaniqueCoders\Console\...t\Filesystem\Filesystem of property $filesystem.
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.. Loading history...
|
|||
| 30 | } |
||
| 31 | } |
||
| 32 |