1 | <?php |
||
10 | class CacheTranslationsCommand extends Command |
||
11 | { |
||
12 | private $cacher; |
||
13 | private $locales = []; |
||
14 | |||
15 | public function __construct(CachedTranslationFile $cacher) |
||
22 | |||
23 | /** |
||
24 | * The name and signature of the console command. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $signature = 'squanto:cache'; |
||
29 | |||
30 | /** |
||
31 | * The console command description. |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $description = 'Clear cache and rebuild it from the database translations'; |
||
36 | |||
37 | public function handle() |
||
50 | } |
||
51 |
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..