Rector php82 changes

This commit is contained in:
2025-10-02 16:19:16 +02:00
parent f2922018ce
commit 4a08de09b8
18 changed files with 30 additions and 36 deletions

View File

@@ -31,7 +31,7 @@ class ThirdpartyDuplicateController extends AbstractController
* @ParamConverter("thirdparty", options={"id": "thirdparty_id"})
*/
#[Route(path: '/{_locale}/3party/{thirdparty_id}/find-manually', name: 'chill_thirdparty_find_duplicate')]
public function findManuallyDuplicateAction(ThirdParty $thirdparty, Request $request)
public function findManuallyDuplicateAction(ThirdParty $thirdparty, Request $request): \Symfony\Component\HttpFoundation\RedirectResponse|\Symfony\Component\HttpFoundation\Response
{
$suggested = [];
@@ -74,7 +74,7 @@ class ThirdpartyDuplicateController extends AbstractController
* @ParamConverter("thirdparty2", options={"id": "thirdparty2_id"})
*/
#[Route(path: '/{_locale}/3party/{thirdparty1_id}/duplicate/{thirdparty2_id}/confirm', name: 'chill_thirdparty_duplicate_confirm')]
public function confirmAction(ThirdParty $thirdparty1, ThirdParty $thirdparty2, Request $request)
public function confirmAction(ThirdParty $thirdparty1, ThirdParty $thirdparty2, Request $request): \Symfony\Component\HttpFoundation\RedirectResponse|\Symfony\Component\HttpFoundation\Response
{
try {
$this->validateThirdpartyMerge($thirdparty1, $thirdparty2);