| 1 | <?php  | 
            ||
| 16 | class EmptyCommand extends Command  | 
            ||
| 17 | { | 
            ||
| 18 | /**  | 
            ||
| 19 | * The console command name.  | 
            ||
| 20 | *  | 
            ||
| 21 | * @var string  | 
            ||
| 22 | */  | 
            ||
| 23 | protected $signature = 'cdn:empty';  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * The console command description.  | 
            ||
| 27 | *  | 
            ||
| 28 | * @var string  | 
            ||
| 29 | */  | 
            ||
| 30 | protected $description = 'Empty all assets from CDN';  | 
            ||
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * an instance of the main Cdn class.  | 
            ||
| 34 | *  | 
            ||
| 35 | * @var Vinelab\Cdn\Cdn  | 
            ||
| 36 | */  | 
            ||
| 37 | protected $cdn;  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @param CdnInterface $cdn  | 
            ||
| 41 | */  | 
            ||
| 42 | public function __construct(CdnInterface $cdn)  | 
            ||
| 48 | |||
| 49 | /**  | 
            ||
| 50 | * Execute the console command.  | 
            ||
| 51 | *  | 
            ||
| 52 | * @return mixed  | 
            ||
| 53 | */  | 
            ||
| 54 | public function handle()  | 
            ||
| 58 | }  | 
            ||
| 59 | 
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..