mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 01:25:00 +00:00
fix construction of BadRequestHttpException
This commit is contained in:
@@ -247,7 +247,7 @@ final class AccompanyingCourseApiController extends ApiController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (null === $requestor) {
|
if (null === $requestor) {
|
||||||
throw new BadRequestHttpException('Could not find any person or thirdparty', 0, null);
|
throw new BadRequestHttpException('Could not find any person or thirdparty');
|
||||||
}
|
}
|
||||||
|
|
||||||
$accompanyingPeriod->setRequestor($requestor);
|
$accompanyingPeriod->setRequestor($requestor);
|
||||||
|
Reference in New Issue
Block a user