We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6cbbf60 + 2114577 commit e363f47Copy full SHA for e363f47
3 files changed
tests/_support/Entity/CustomUser.php
@@ -26,7 +26,7 @@
26
* @property string $name
27
* @property Time|null $updated_at
28
*/
29
-class CustomUser
+final class CustomUser
30
{
31
private function __construct(
32
private readonly int $id,
@@ -40,7 +40,7 @@ private function __construct(
40
41
public static function reconstruct(array $data): static
42
43
- return new static(
+ return new self(
44
$data['id'],
45
$data['name'],
46
$data['email'],
utils/phpstan-baseline/loader.neon
@@ -43,7 +43,6 @@ includes:
- missingType.parameter.neon
- missingType.property.neon
- missingType.return.neon
- - new.static.neon
47
- notIdentical.alwaysTrue.neon
48
- nullCoalesce.expr.neon
49
- nullCoalesce.property.neon
utils/phpstan-baseline/new.static.neon
0 commit comments