echo json_encode(['error' => DI::l10n()->t('Permission denied.')]);
exit();
}
- notice(DI::l10n()->t('Permission denied.') . EOL);
+ notice(DI::l10n()->t('Permission denied.'));
exit();
}
echo json_encode(['error' => DI::l10n()->t('Invalid request.')]);
exit();
}
- notice(DI::l10n()->t('Invalid request.').EOL);
+ notice(DI::l10n()->t('Invalid request.'));
exit();
}