Skip to content

Commit f20abb6

Browse files
authored
Merge pull request #16 from OnitaAndrei/issue-15
Initialized annotationReader property to null
2 parents 03a93ba + dda54c9 commit f20abb6

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/Factory/AbstractAnnotatedFactory.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515

1616
abstract class AbstractAnnotatedFactory
1717
{
18-
protected const CACHE_SERVICE = 'Dot\AnnotatedServices\Cache';
19-
protected ?Reader $annotationReader;
20-
18+
protected const CACHE_SERVICE = 'Dot\AnnotatedServices\Cache';
19+
protected ?Reader $annotationReader = null;
2120
public function setAnnotationReader(Reader $annotationReader): void
2221
{
2322
$this->annotationReader = $annotationReader;

0 commit comments

Comments
 (0)