Skip to content

Commit

Permalink
オプション引数が必須引数より先に来ているコードを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
takeuji committed Aug 29, 2022
1 parent 16561c7 commit e7731e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct(MailTemplateRepository $mailTemplateRepository)
* @Route("/%eccube_admin_route%/setting/shop/mail/{id}", requirements={"id" = "\d+"}, name="admin_setting_shop_mail_edit", methods={"GET", "POST"})
* @Template("@admin/Setting/Shop/mail.twig")
*/
public function index(Request $request, MailTemplate $Mail = null, Environment $twig, CacheUtil $cacheUtil)
public function index(Request $request, Environment $twig, CacheUtil $cacheUtil, MailTemplate $Mail = null)
{
$builder = $this->formFactory
->createBuilder(MailType::class, $Mail);
Expand Down

0 comments on commit e7731e8

Please sign in to comment.