Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe1017 commit 728c8f8Copy full SHA for 728c8f8
2 files changed
phpstan.neon
@@ -41,14 +41,10 @@ parameters:
41
- identifier: property.readOnlyByPhpDocDefaultValue
42
paths:
43
- src/Object/Hydrator.php
44
+ - src/Factory.php
45
- src/ObjectFactory.php
46
- src/Persistence/PersistentObjectFactory.php
47
- # Hydrator and Factory are annotated @immutable
48
- - identifier: property.uninitializedReadonlyByPhpDoc
49
- paths:
50
- - src/Factory.php
51
-
52
# Hydrator and Factory are annotated @immutable
53
- identifier: property.readOnlyByPhpDocAssignNotInConstructor
54
src/Factory.php
@@ -27,7 +27,7 @@
27
abstract class Factory
28
{
29
/** @phpstan-var Attributes[] */
30
- private array $attributes;
+ private array $attributes = [];
31
32
// keep an empty constructor for BC
33
public function __construct()
0 commit comments