Error Identifiers: constructor.*
← Back to all error identifiers
There are 4 error identifiers in the constructor.* group:
-
constructor.call phpstan-strict-rules
Constructor is called on an already-constructed object.
-
constructor.missingParentCall phpstan-strict-rules
Child constructor does not call the parent constructor.
-
constructor.returnType non-ignorable
Constructor declares a return type, which is not allowed.
-
Constructor parameter is never used in the constructor body.