diff --git a/plugins/bc-mail/src/Controller/Admin/MailConfigsController.php b/plugins/bc-mail/src/Controller/Admin/MailConfigsController.php index 1404c647f2..173b724e1a 100644 --- a/plugins/bc-mail/src/Controller/Admin/MailConfigsController.php +++ b/plugins/bc-mail/src/Controller/Admin/MailConfigsController.php @@ -11,12 +11,14 @@ namespace BcMail\Controller\Admin; -use BaserCore\Utility\BcUtil; use BcMail\Service\MailConfigsServiceInterface; +use Psr\Http\Message\ResponseInterface; +use BaserCore\Annotation\UnitTest; +use BaserCore\Annotation\NoTodo; +use BaserCore\Annotation\Checked; /** * メールフォーム設定コントローラー - * */ class MailConfigsController extends MailAdminAppController { @@ -24,7 +26,9 @@ class MailConfigsController extends MailAdminAppController /** * [ADMIN] メールフォーム設定 * - * @return void + * @return void|ResponseInterface + * @checked + * @noTodo */ public function index(MailConfigsServiceInterface $service) { diff --git a/plugins/bc-mail/src/Controller/Admin/MailFieldsController.php b/plugins/bc-mail/src/Controller/Admin/MailFieldsController.php index ca17e1e110..7f56d98f8c 100644 --- a/plugins/bc-mail/src/Controller/Admin/MailFieldsController.php +++ b/plugins/bc-mail/src/Controller/Admin/MailFieldsController.php @@ -51,6 +51,8 @@ public function initialize(): void * beforeFilter * * @return void + * @checked + * @noTodo */ public function beforeFilter(EventInterface $event) { @@ -73,6 +75,8 @@ public function beforeFilter(EventInterface $event) /** * プラグインの環境をチェックする + * @checked + * @noTodo */ protected function _checkEnv() { diff --git a/plugins/bc-mail/src/Controller/Admin/MailMessagesController.php b/plugins/bc-mail/src/Controller/Admin/MailMessagesController.php index b37290b5ad..5b9e0cd921 100644 --- a/plugins/bc-mail/src/Controller/Admin/MailMessagesController.php +++ b/plugins/bc-mail/src/Controller/Admin/MailMessagesController.php @@ -51,6 +51,8 @@ public function initialize(): void * beforeFilter * * @return void + * @checked + * @noTodo */ public function beforeFilter(EventInterface $event) { @@ -152,6 +154,10 @@ public function delete( /** * メールフォームに添付したファイルを開く + * @param MailMessagesServiceInterface $service + * @return void + * @checked + * @noTodo */ public function attachment(MailMessagesServiceInterface $service) { @@ -179,6 +185,8 @@ public function attachment(MailMessagesServiceInterface $service) * * @param int $mailContentId * @return void + * @checked + * @noTodo */ public function download_csv(MailMessagesAdminServiceInterface $service, int $mailContentId) { diff --git a/plugins/bc-mail/src/Controller/Api/MailMessagesController.php b/plugins/bc-mail/src/Controller/Api/MailMessagesController.php index 08646f167e..b4a429b9a8 100644 --- a/plugins/bc-mail/src/Controller/Api/MailMessagesController.php +++ b/plugins/bc-mail/src/Controller/Api/MailMessagesController.php @@ -29,6 +29,14 @@ class MailMessagesController extends BcApiController { + /** + * Before Filter + * + * @param EventInterface $event + * @return \Cake\Http\Response|void + * @checked + * @noTodo + */ public function beforeFilter(EventInterface $event) { $this->Security->setConfig('validatePost', false); diff --git a/plugins/bc-mail/src/Controller/MailController.php b/plugins/bc-mail/src/Controller/MailController.php index f69976a1bd..a831493a19 100755 --- a/plugins/bc-mail/src/Controller/MailController.php +++ b/plugins/bc-mail/src/Controller/MailController.php @@ -27,6 +27,7 @@ use BaserCore\Annotation\UnitTest; use BaserCore\Annotation\NoTodo; use BaserCore\Annotation\Checked; +use Psr\Http\Message\ResponseInterface; /** * お問い合わせメールフォーム用コントローラー @@ -68,6 +69,7 @@ public function initialize(): void * beforeFilter. * * @return void + * @checked */ public function beforeFilter(EventInterface $event) { @@ -80,6 +82,7 @@ public function beforeFilter(EventInterface $event) $mailMessagesService = $this->getService(MailMessagesServiceInterface::class); $mailMessagesService->MailMessages->setup($this->request->getParam('entityId'), $this->getRequest()->getData()); + // TODO ucmitz 未確認 return; $this->dbDatas['mailContent'] = $this->MailMessage->mailContent; $this->dbDatas['mailFields'] = $this->MailMessage->mailFields; @@ -115,6 +118,7 @@ public function beforeFilter(EventInterface $event) * beforeRender * * @return void + * @checked */ public function beforeRender(EventInterface $event): void { @@ -320,7 +324,11 @@ public function submit( /** * [PUBIC] メール送信完了 * - * @return void + * @param MailFrontServiceInterface $service + * @param MailContentsServiceInterface $mailContentsService + * @return void|ResponseInterface + * @checked + * @noTodo */ public function thanks(MailFrontServiceInterface $service, MailContentsServiceInterface $mailContentsService) { @@ -342,7 +350,11 @@ public function thanks(MailFrontServiceInterface $service, MailContentsServiceIn /** * 認証用のキャプチャ画像を表示する * + * @param BcCaptchaServiceInterface $service + * @param string $token * @return void + * @checked + * @noTodo */ public function captcha(BcCaptchaServiceInterface $service, string $token) { diff --git a/plugins/bc-mail/src/Model/Entity/MailContent.php b/plugins/bc-mail/src/Model/Entity/MailContent.php index d702fe047d..b08477d93b 100755 --- a/plugins/bc-mail/src/Model/Entity/MailContent.php +++ b/plugins/bc-mail/src/Model/Entity/MailContent.php @@ -58,6 +58,8 @@ class MailContent extends Entity * メッセージ件数を取得する * * @return int + * @checked + * @noTodo */ public function getNumberOfMessages() { diff --git a/plugins/bc-mail/src/Model/Table/MailContentsTable.php b/plugins/bc-mail/src/Model/Table/MailContentsTable.php index 6d68cfd0f1..6c504710ad 100755 --- a/plugins/bc-mail/src/Model/Table/MailContentsTable.php +++ b/plugins/bc-mail/src/Model/Table/MailContentsTable.php @@ -90,6 +90,8 @@ public function initialize(array $config): void * * @param Validator $validator * @return Validator + * @checked + * @noTodo */ public function validationDefault(Validator $validator): Validator { @@ -176,6 +178,8 @@ public function validationDefault(Validator $validator): Validator * * @param array $check チェック対象文字列 * @return boolean + * @checked + * @noTodo */ public function checkSslUrl($value) { @@ -256,9 +260,10 @@ public function createSearchIndex($data) * @param int $newAuthorId 新しいユーザーID * @param int $newSiteId 新しいサイトID * @return mixed mailContent|false + * @checked */ public function copy( - int $id, + ?int $id, int $newParentId, string $newTitle, int $newAuthorId, diff --git a/plugins/bc-mail/src/Model/Table/MailFieldsTable.php b/plugins/bc-mail/src/Model/Table/MailFieldsTable.php index c858b82d58..e33ebb4822 100755 --- a/plugins/bc-mail/src/Model/Table/MailFieldsTable.php +++ b/plugins/bc-mail/src/Model/Table/MailFieldsTable.php @@ -11,6 +11,7 @@ namespace BcMail\Model\Table; +use BcMail\Model\Entity\MailField; use Cake\Datasource\EntityInterface; use Cake\Validation\Validator; use BaserCore\Annotation\UnitTest; @@ -49,9 +50,10 @@ public function initialize(array $config): void /** * MailField constructor. * - * @param bool $id - * @param null $table - * @param null $ds + * @param Validator $validator + * @return Validator + * @checked + * @noTodo */ public function validationDefault(Validator $validator): Validator { @@ -142,6 +144,8 @@ public function validationDefault(Validator $validator): Validator * * @param string $field * @return array source + * @checked + * @noTodo */ public function getControlSource($field = null) { @@ -188,6 +192,8 @@ public function getControlSource($field = null) * @param string $value * @param array $context * @return boolean + * @checked + * @noTodo */ public function duplicateMailField(string $value, array $context) { @@ -210,6 +216,8 @@ public function duplicateMailField(string $value, array $context) * * @param string $value * @return boolean + * @checked + * @noTodo */ public function halfTextMailField(string $value) { @@ -223,6 +231,8 @@ public function halfTextMailField(string $value) * @param string $value * @param array $context * @return bool + * @checked + * @noTodo */ public function sourceMailField(string $value, array $context) { @@ -240,13 +250,13 @@ public function sourceMailField(string $value, array $context) * フィールドデータをコピーする * * @param int $id - * @param array $data + * @param MailField $data * @param array $options * @return EntityInterface|false * @checked * @noTodo */ - public function copy($id, $data = null, $options = []) + public function copy(?int $id, MailField $data = null, array $options = []) { $options = array_merge([ 'sortUpdateOff' => false, @@ -303,6 +313,8 @@ public function copy($id, $data = null, $options = []) * | の対応は後方互換として残しておく * @param string $source 選択リストソース * @return string 整形後選択リストソース + * @checked + * @noTodo */ public function formatSource($source) { diff --git a/plugins/bc-mail/src/Model/Table/MailMessagesTable.php b/plugins/bc-mail/src/Model/Table/MailMessagesTable.php index e4c8e702ac..74f9066296 100755 --- a/plugins/bc-mail/src/Model/Table/MailMessagesTable.php +++ b/plugins/bc-mail/src/Model/Table/MailMessagesTable.php @@ -119,6 +119,8 @@ public function setMailFields(int $mailContentId) * * @param Validator $validator * @return Validator + * @checked + * @noTodo */ public function validationDefault(Validator $validator): Validator { @@ -187,6 +189,9 @@ public function setupUpload(int $mailContentId) * After Marshal * * @param Event $event + * @return void + * @checked + * @noTodo */ public function afterMarshal(Event $event) { @@ -490,6 +495,8 @@ public function convertToDb(ResultSetInterface $mailFields, EntityInterface $mai * * @param array $dbDatas * @return array $dbDatas + * @checked + * @noTodo * @TODO ヘルパー化すべきかも */ public function convertDatasToMail($data, $options) @@ -540,11 +547,12 @@ public function createFullTableName($mailContentId) /** * 受信メッセージの内容を表示状態に変換する * - * @param int $id - * @param $messages + * @param array $messages * @return array + * @checked + * @noTodo */ - public function convertMessageToCsv($messages) + public function convertMessageToCsv(array $messages) { // フィールド名とデータの変換に必要なヘルパーを読み込む $maildataHelper = new MaildataHelper(new View()); diff --git a/plugins/bc-mail/src/Model/Validation/MailMessageValidation.php b/plugins/bc-mail/src/Model/Validation/MailMessageValidation.php index fc368127c8..9ae91c684f 100644 --- a/plugins/bc-mail/src/Model/Validation/MailMessageValidation.php +++ b/plugins/bc-mail/src/Model/Validation/MailMessageValidation.php @@ -27,6 +27,7 @@ class MailMessageValidation extends Validation * 文字列日付チェック * * @return bool + * @checked * @unitTest * @noTodo */ diff --git a/plugins/bc-mail/src/Plugin.php b/plugins/bc-mail/src/Plugin.php index 616d7edc1b..c4d07b77f2 100644 --- a/plugins/bc-mail/src/Plugin.php +++ b/plugins/bc-mail/src/Plugin.php @@ -24,30 +24,6 @@ */ class Plugin extends BcPlugin { - /** - * プラグインをインストールする - * - * @param array $options - * - `plugin` : プラグイン名 - * - `connection` : コネクション名 - */ - public function install($options = []) : bool - { - // ここに必要なインストール処理を記述 - return parent::install($options); - } - - /** - * プラグインをアンインストールする - * - `plugin` : プラグイン名 - * - `connection` : コネクション名 - * - `target` : ロールバック対象バージョン - */ - public function uninstall($options = []): bool - { - // ここに必要なアンインストール処理を記述 - return parent::uninstall(); - } /** * services diff --git a/plugins/bc-mail/src/Service/Admin/MailMessagesAdminService.php b/plugins/bc-mail/src/Service/Admin/MailMessagesAdminService.php index a557d1d4eb..649746b365 100644 --- a/plugins/bc-mail/src/Service/Admin/MailMessagesAdminService.php +++ b/plugins/bc-mail/src/Service/Admin/MailMessagesAdminService.php @@ -80,13 +80,15 @@ public function getViewVarsForView(int $mailContentId, int $mailMessageId) * @param ServerRequest $request * @return array * @unitTest + * @checked + * @noTodo */ public function getViewVarsForDownloadCsv(int $mailContentId, ServerRequest $request) { $this->setup($mailContentId); return [ 'encoding' => $request->getQuery('encoding') ?? 'utf-8', - 'messages' => $this->MailMessages->convertMessageToCsv($this->getIndex()->all()), + 'messages' => $this->MailMessages->convertMessageToCsv($this->getIndex()->all()->toArray()), 'contentName' => $request->getAttribute('currentContent')->name, ]; } diff --git a/plugins/bc-mail/src/Service/Front/MailFrontService.php b/plugins/bc-mail/src/Service/Front/MailFrontService.php index 9962d693a4..37f4241c1f 100644 --- a/plugins/bc-mail/src/Service/Front/MailFrontService.php +++ b/plugins/bc-mail/src/Service/Front/MailFrontService.php @@ -157,6 +157,8 @@ public function getViewVarsForConfirm(EntityInterface $mailContent, EntityInterf * @param array $postData * @return EntityInterface * @unitTest + * @checked + * @noTodo */ public function confirm(EntityInterface $mailContent, array $postData): EntityInterface { @@ -304,6 +306,8 @@ public function getUserMail(ResultSetInterface $mailFields, EntityInterface $mai * @param EntityInterface $mailMessage * @return array * @unitTest + * @checked + * @noTodo */ public function getAttachments(ResultSetInterface $mailFields, EntityInterface $mailMessage): array { diff --git a/plugins/bc-mail/src/Service/MailContentsService.php b/plugins/bc-mail/src/Service/MailContentsService.php index 7a3b092149..397cb2465f 100644 --- a/plugins/bc-mail/src/Service/MailContentsService.php +++ b/plugins/bc-mail/src/Service/MailContentsService.php @@ -255,6 +255,8 @@ public function copy($postData) * @param int|null $siteId * @return \Cake\Datasource\ResultSetInterface * @unitTest + * @checked + * @noTodo */ public function getPublishedAll(int $siteId = null) { diff --git a/plugins/bc-mail/src/Service/MailMessagesService.php b/plugins/bc-mail/src/Service/MailMessagesService.php index 6806685e36..9d5bd3e069 100644 --- a/plugins/bc-mail/src/Service/MailMessagesService.php +++ b/plugins/bc-mail/src/Service/MailMessagesService.php @@ -115,6 +115,8 @@ public function getIndex(array $queryParams = []) * @param array|MailMessage $postData * @return EntityInterface * @unitTest + * @checked + * @noTodo */ public function create(EntityInterface $mailContent, $postData) { @@ -142,6 +144,8 @@ public function create(EntityInterface $mailContent, $postData) * @param EntityInterface $entity * @param array $postData * @return EntityInterface|null + * @checked + * @noTodo */ public function update(EntityInterface $entity, array $postData): ?EntityInterface { diff --git a/plugins/bc-mail/src/View/Helper/BcMailBaserHelper.php b/plugins/bc-mail/src/View/Helper/BcMailBaserHelper.php index c8273d5800..7f66692ec8 100644 --- a/plugins/bc-mail/src/View/Helper/BcMailBaserHelper.php +++ b/plugins/bc-mail/src/View/Helper/BcMailBaserHelper.php @@ -13,6 +13,9 @@ use BaserCore\View\Helper\BcPluginBaserHelperInterface; use Cake\View\Helper; +use BaserCore\Annotation\NoTodo; +use BaserCore\Annotation\Checked; +use BaserCore\Annotation\UnitTest; /** * MailBaserHelper @@ -35,6 +38,8 @@ class BcMailBaserHelper extends Helper implements BcPluginBaserHelperInterface * メソッド一覧取得 * * @return array[] + * @checked + * @noTodo */ public function methods(): array { diff --git a/plugins/bc-mail/src/View/Helper/MailHelper.php b/plugins/bc-mail/src/View/Helper/MailHelper.php index f17a8c0627..f613567c21 100755 --- a/plugins/bc-mail/src/View/Helper/MailHelper.php +++ b/plugins/bc-mail/src/View/Helper/MailHelper.php @@ -55,6 +55,8 @@ class MailHelper extends Helper * * @param View $View Viewオブジェクト * @return void + * @checked + * @noTodo */ public function __construct(View $view, array $config = []) { @@ -153,6 +155,8 @@ public function getMailTemplates($siteId = 1) /** * メールフォームの説明文を取得する * @return string メールフォームの説明文 + * @checked + * @noTodo */ public function getDescription() { @@ -163,6 +167,8 @@ public function getDescription() * メールの説明文を出力する * * @return void + * @checked + * @noTodo */ public function description() { @@ -173,6 +179,8 @@ public function description() * メールの説明文が設定されているかどうかを判定する * * @return boolean 設定されている場合 true を返す + * @checked + * @noTodo */ public function descriptionExists() { @@ -191,6 +199,8 @@ public function descriptionExists() * @param array $options a タグの属性(初期値 : array()) * ※ オプションについては、HtmlHelper::link() を参照 * @return void + * @checked + * @noTodo */ public function link($title, $contentsName, $datas = [], $options = []) { @@ -207,6 +217,8 @@ public function link($title, $contentsName, $datas = [], $options = []) * ブラウザの戻るボタン対応コードを作成 * * @return string + * @checked + * @noTodo */ public function getToken() { @@ -217,6 +229,8 @@ public function getToken() * ブラウザの戻るボタン対応コードを出力 * * @return void + * @checked + * @noTodo */ public function token() { @@ -251,6 +265,7 @@ public function getForm($id = null) * * @param Event $event * @param string $viewFile + * @checked */ public function beforeRender(Event $event, string $viewFile) { @@ -271,6 +286,8 @@ public function beforeRender(Event $event, string $viewFile) * 現在のページがメールプラグインかどうかを判定する * * @return bool + * @checked + * @noTodo */ public function isMail(): bool { @@ -284,6 +301,8 @@ public function isMail(): bool * * @param int $siteId * @return mixed + * @checked + * @noTodo */ public function getPublishedMailContents(int $siteId) { diff --git a/plugins/bc-mail/src/View/Helper/MaildataHelper.php b/plugins/bc-mail/src/View/Helper/MaildataHelper.php index 5743919ae3..a6e3f09c5c 100755 --- a/plugins/bc-mail/src/View/Helper/MaildataHelper.php +++ b/plugins/bc-mail/src/View/Helper/MaildataHelper.php @@ -25,6 +25,11 @@ */ class MaildataHelper extends BcTextHelper { + + /** + * ヘルパー + * @var string[] + */ public $helpers = ['BcTime', 'BcBaser']; /** @@ -36,25 +41,29 @@ class MaildataHelper extends BcTextHelper * @param array|string $options コントロールソース * @param bool $escape エスケープ処理を行うかどうか (初期値 : true) * @return string メール用データ + * @checked + * @noTodo */ public function control($type, $value, $escape = true) { $toDisplayString = $this->toDisplayString($type, $value); - return $escape ? h($toDisplayString) : $toDisplayString; + return $escape? h($toDisplayString) : $toDisplayString; } - /** - * メール表示用のデータを出力する - * - * @param string $type コントロールタイプ - * @param mixed $value 変換前の値 - * @param bool $prefixSpace - * @return string メール用データ - */ + /** + * メール表示用のデータを出力する + * + * @param string $type コントロールタイプ + * @param mixed $value 変換前の値 + * @param bool $prefixSpace + * @return string メール用データ + * @checked + * @noTodo + */ public function toDisplayString(string $type, $value, bool $prefixSpace = true) { - $result = ''; - switch ($type) { + $result = ''; + switch($type) { case 'text': case 'radio': case 'select': @@ -67,73 +76,74 @@ public function toDisplayString(string $type, $value, bool $prefixSpace = true) case 'pref': $prefs = $this->prefList(); $options = []; - foreach ($prefs as $pref) { + foreach($prefs as $pref) { $options[$pref] = $pref; } - if (isset($options[$value])) $result = $options[$value]; - break; + if (isset($options[$value])) $result = $options[$value]; + break; case 'multi_check': - if ($value === '') break; - if (!is_array($value)) $value = explode("|", $value); - $result = $value; - break; + if ($value === '') break; + if (!is_array($value)) $value = explode("|", $value); + $result = $value; + break; case 'file': - $prefixSpace = false; - if (empty($value)) break; + $prefixSpace = false; + if (empty($value)) break; $mailContent = $this->_View->get('mailContent'); $aryFile = explode('/', $value); $file = $aryFile[count($aryFile) - 1]; $ext = BcUtil::decodeContent(null, $file); $link = array_merge([ - 'admin' => true, - 'controller' => 'mail_messages', - 'action' => 'attachment', - $mailContent->id - ], $aryFile); + 'admin' => true, + 'controller' => 'mail_messages', + 'action' => 'attachment', + $mailContent->id + ], $aryFile); if (in_array($ext, ['gif', 'jpg', 'png'])) { $result = $this->BcBaser->getLink( $this->BcBaser->getImg($link, ['width' => 400]), $link, ['target' => '_blank', 'escape' => false] ); - } else { - $result = $this->BcBaser->getLink($file, $link); + } else { + $result = $this->BcBaser->getLink($file, $link); } return $result; case 'date_time_calender': - if (is_array($value)) $value = $this->dateTime($value); - if ($value) $result = date(__d('baser_core', 'Y年 m月 d日'), strtotime($value)); - break; + if (is_array($value)) $value = $this->dateTime($value); + if ($value) $result = date(__d('baser_core', 'Y年 m月 d日'), strtotime($value)); + break; case 'autozip': - if (strlen($value) == 7) { - $result = substr($value, 0, 3) . '-' . substr($value, 3, 7); - } else { - $result = $value; - } - break; + if (strlen($value) == 7) { + $result = substr($value, 0, 3) . '-' . substr($value, 3, 7); + } else { + $result = $value; + } + break; default: - $prefixSpace = false; - $result = $value; + $prefixSpace = false; + $result = $value; } - if(is_array($result)) { - $out = ''; - foreach($result as $v) { - $v = "・" . $v . PHP_EOL; - if($prefixSpace) $v = ' ' . $v; - $out .= $v; - } - $result = $out; - } else { - if($prefixSpace && $result) $result = ' ' . $result; - } - return $result; + if (is_array($result)) { + $out = ''; + foreach($result as $v) { + $v = "・" . $v . PHP_EOL; + if ($prefixSpace) $v = ' ' . $v; + $out .= $v; + } + $result = $out; + } else { + if ($prefixSpace && $result) $result = ' ' . $result; + } + return $result; } + } diff --git a/plugins/bc-mail/src/View/Helper/MailfieldHelper.php b/plugins/bc-mail/src/View/Helper/MailfieldHelper.php index 0e835387b7..98313d27e3 100755 --- a/plugins/bc-mail/src/View/Helper/MailfieldHelper.php +++ b/plugins/bc-mail/src/View/Helper/MailfieldHelper.php @@ -20,8 +20,6 @@ /** * メールフィールドヘルパー - * - * */ class MailfieldHelper extends Helper { @@ -31,6 +29,8 @@ class MailfieldHelper extends Helper * * @param array $data メールフィールドデータ * @return array HTML属性 + * @checked + * @noTodo */ public function getAttributes($data) { @@ -65,6 +65,8 @@ public function getAttributes($data) * * @param MailField $data メールフィールドデータ * @return array コントロールソース + * @checked + * @noTodo */ public function getOptions($data) { diff --git a/plugins/bc-mail/src/View/Helper/MailformHelper.php b/plugins/bc-mail/src/View/Helper/MailformHelper.php index dfd69281bf..f74a941561 100755 --- a/plugins/bc-mail/src/View/Helper/MailformHelper.php +++ b/plugins/bc-mail/src/View/Helper/MailformHelper.php @@ -238,6 +238,8 @@ public function control(string $fieldName, array $attributes = []): string * @param array $model * @param array $options * @return string + * @checked + * @noTodo */ public function create($context = null, $options = []): string { @@ -257,6 +259,9 @@ public function create($context = null, $options = []): string * @param array $options オプション(初期値 : []) * - `separate` : 画像と入力欄の区切り(初期値:'') * - `class` : CSSクラス名(初期値:auth-captcha-image) + * @return void + * @checked + * @noTodo */ public function authCaptcha(string $fieldName, array $options = []) { @@ -323,6 +328,8 @@ public function getGroupValidErrors(ResultSetInterface $mailFields, string $grou * @param ResultSet $mailFields * @param MailField $currentMailField * @return bool + * @checked + * @noTodo */ public function isGroupLastField(ResultSet $mailFields, MailField $currentMailField) {