Skip to content

Commit 3024944

Browse files
committed
Suppress Psalm issue caused by wrong PHPDoc type
1 parent a2da73f commit 3024944

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Factory/Factory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function modelName(): string
2222
return str_replace('\\Factory\\', '\\Model\\', $name);
2323
};
2424

25+
/** @psalm-suppress RedundantPropertyInitializationCheck the model is incorrectly typed as not being able to be null */
2526
return $this->model ?? $resolver($this);
2627
}
2728
}

0 commit comments

Comments
 (0)