1 | <?php |
||
32 | class AnnotationConfiguration |
||
33 | { |
||
34 | /** @var array */ |
||
35 | protected $configuration = []; |
||
36 | |||
37 | /** @var array */ |
||
38 | protected $customAnnotations = []; |
||
39 | |||
40 | /** @var string[] */ |
||
41 | private $annotations = [ |
||
42 | Annotation\Cacheable::class, |
||
43 | Annotation\CacheEvict::class, |
||
44 | Annotation\CachePut::class, |
||
45 | Annotation\EagerQueue::class, |
||
46 | Annotation\LazyQueue::class, |
||
47 | Annotation\LogExceptions::class, |
||
48 | Annotation\Loggable::class, |
||
49 | Annotation\MessageDriven::class, |
||
50 | Annotation\PostConstruct::class, |
||
51 | Annotation\QueryLog::class, |
||
52 | Annotation\RetryOnFailure::class, |
||
53 | Annotation\Transactional::class, |
||
54 | ]; |
||
55 | |||
56 | /** |
||
57 | * @param array $configuration |
||
58 | * @param array $customAnnotations |
||
59 | */ |
||
60 | public function __construct(array $configuration, array $customAnnotations = []) |
||
66 | |||
67 | /** |
||
68 | * Add a new annotation to the globally ignored annotation names with regard to exception handling. |
||
69 | */ |
||
70 | public function ignoredAnnotations(): void |
||
81 | |||
82 | protected function registerAnnotations(): void |
||
98 | } |
||
99 |
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..