File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <MixedArgument >
55 <code ><![CDATA[ $primaryKey]]> </code >
66 </MixedArgument >
7- <PossiblyUnusedReturnValue >
8- <code ><![CDATA[ TResult ]]> </code >
9- </PossiblyUnusedReturnValue >
7+ <MixedReturnStatement >
8+ <code ><![CDATA[ static::getOrm()->getSchema()->define(static::class, SchemaInterface::TABLE) ]]> </code >
9+ </MixedReturnStatement >
1010 </file >
1111 <file src =" src/Facade.php" >
1212 <MixedReturnStatement >
1919 </InvalidThrow >
2020 </file >
2121 <file src =" src/Repository/ActiveRepository.php" >
22- <MixedArgument >
22+ <ArgumentTypeCoercion >
2323 <code ><![CDATA[ $id]]> </code >
24- </MixedArgument >
24+ </ArgumentTypeCoercion >
2525 </file >
2626</files >
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ public function __construct(string $role)
5151 *
5252 * @note Limit of 1 will be added to the query.
5353 *
54+ * @param string|int|non-empty-list<string|int>|non-empty-array<non-empty-string, string|int>|object $id
55+ *
5456 * @return TEntity|null
5557 */
5658 public function findByPK (mixed $ id ): ?object
You can’t perform that action at this time.
0 commit comments