1 | <?php |
||
7 | class TranslationHasBeenSet |
||
8 | { |
||
9 | /** @var \Spatie\Translatable\Translatable */ |
||
10 | public $model; |
||
11 | |||
12 | /** @var string */ |
||
13 | public $key; |
||
14 | |||
15 | /** @var string */ |
||
16 | public $locale; |
||
17 | |||
18 | public $oldValue; |
||
19 | public $newValue; |
||
20 | |||
21 | public function __construct(Model $model, $key, $locale, $oldValue, $newValue) |
||
32 | } |
||
33 |
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..