| 1 | <?php |
||
| 12 | abstract class ExtendReader |
||
| 13 | { |
||
| 14 | use Injector; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var Psr\Log\LoggerInterface |
||
| 18 | */ |
||
| 19 | protected $logger; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * constructor |
||
| 23 | */ |
||
| 24 | public function __construct() |
||
| 25 | { |
||
| 26 | $this->logger = new class() { function __call($name, $args) {} }; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * アノテーション情報リストを返却する |
||
| 31 | * @param array<object> アノテーション情報リスト |
||
| 32 | */ |
||
| 33 | abstract public function getAnnotationInfo(); |
||
| 34 | |||
| 35 | /** |
||
| 36 | * read event |
||
| 37 | * @param array<string> アノテーション情報リスト |
||
| 38 | */ |
||
| 39 | abstract public function read(array $annotationInfoList); |
||
| 40 | } |
||
| 41 |
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..