boolean('ignore_tags') || $node->acceptsEgg($egg)) { return; } $tags = $node->eggTags->map(fn (Tag $tag): string => $tag->effectiveName())->implode(', '); $validator->errors()->add($field, "{$node->name} only accepts eggs tagged {$tags}."); } }