Skip to content

Commit 687fe01

Browse files
committed
Conditional return type
1 parent 84b1db7 commit 687fe01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Testing/Api/Input/Operator/OperatorType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected function getFilteredResult(string $class, string $field, string $opera
4444
* @param class-string $entity
4545
* @param null|int[] $ids
4646
*
47-
* @return null|EntityID[]
47+
* @return ($ids is null ? null : EntityID[])
4848
*/
4949
protected function idsToEntityIds(string $entity, ?array $ids): ?array
5050
{

0 commit comments

Comments
 (0)