src/UniqueNodeValidator.php
Method ensureSlugIsAvailable
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function ensureSlugIsAvailable(PbjxEvent $pbjxEvent, NodeRef $nodeRef, string $slug): void
{
$pbjx = $pbjxEvent::getPbjx();
$command = $pbjxEvent->getMessage();