Skip to content

Commit

Permalink
Fixed incorrect type-hint for Repository Exceptions contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Oct 9, 2023
1 parent fcd96d8 commit f1ed69f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/contracts/Persistence/Content/UrlAlias/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function deleteCorruptedUrlAliases();
*
* @param int $locationId
*
* @throws \Ibexa\Core\Base\Exceptions\BadStateException
* @throws \Ibexa\Contracts\Core\Repository\Exceptions\BadStateException
*/
public function repairBrokenUrlAliasesForLocation(int $locationId);
}
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/Repository/UserPreferenceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface UserPreferenceService
* @param \Ibexa\Contracts\Core\Repository\Values\UserPreference\UserPreferenceSetStruct[] $userPreferenceSetStructs
*
* @throws \Ibexa\Contracts\Core\Repository\Exceptions\UnauthorizedException If the current user user is not allowed to set user preference
* @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentException If the $userPreferenceSetStruct is invalid
* @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException If the $userPreferenceSetStruct is invalid
*/
public function setUserPreference(array $userPreferenceSetStructs): void;

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Base/Container/ApiLoader/RepositoryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function buildRepository(
* @param \Ibexa\Contracts\Core\Repository\Repository $repository
* @param string $serviceName
*
* @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentException
* @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException
*
* @return mixed
*/
Expand Down

0 comments on commit f1ed69f

Please sign in to comment.