Skip to content

Commit ba86f58

Browse files
committed
Fix Psalm
1 parent 9c9b303 commit ba86f58

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function delete(array|string|int|LiteralInterface $pkId): bool
197197
*
198198
* @param array<int, Updatable|QueryBuilderInterface> $queries List of queries to be executed in bulk
199199
* @param IsolationLevelEnum|null $isolationLevel
200-
* @return void
200+
* @return GenericIterator|null
201201
* @throws InvalidArgumentException
202202
* @throws RepositoryReadOnlyException
203203
* @throws Throwable

tests/BulkTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ public function testBulkMixedQueriesWithInvalidQuery(): void
140140
$invalid = "invalid";
141141

142142
// Execute bulk
143+
/** @psalm-suppress InvalidArgument */
143144
$this->repository->bulkExecute([$insert, $invalid, $update, $delete], null);
144145
}
145146

0 commit comments

Comments
 (0)