File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 2626 * @property string $name
2727 * @property Time|null $updated_at
2828 */
29- class CustomUser
29+ final class CustomUser
3030{
3131 private function __construct (
3232 private readonly int $ id ,
@@ -40,7 +40,7 @@ private function __construct(
4040
4141 public static function reconstruct (array $ data ): static
4242 {
43- return new static (
43+ return new self (
4444 $ data ['id ' ],
4545 $ data ['name ' ],
4646 $ data ['email ' ],
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ includes:
4343 - missingType.parameter.neon
4444 - missingType.property.neon
4545 - missingType.return.neon
46- - new.static.neon
4746 - notIdentical.alwaysTrue.neon
4847 - nullCoalesce.expr.neon
4948 - nullCoalesce.property.neon
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments