Skip to content

Commit 7528966

Browse files
committed
[BUGFIX] Return empty array to match type hint but still skip the service
1 parent c1b1bb6 commit 7528966

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Classes/UserRepository.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ public function __construct()
8181
public function processUserRow(array $foreignUserRow): array
8282
{
8383
if (!isset($foreignUserRow['username'])) {
84-
// TODO: replace this invalid return with an exception
85-
return false;
84+
return [];
8685
}
8786

8887
$foreignUserRow = $this->filterForeignUserRowByLocalFields($foreignUserRow);

0 commit comments

Comments
 (0)