<?php
/**
 * Class made by pH7 (Pierre-Henry SORIA).
 */

namespace PFBC\Validation;

use PFBC\Validation;

class Name extends Validation
{
    public function __construct()
    {
        parent::__construct();

        $this->message = t("%element% must be a valid name.");
    }

    public function isValid($sValue): bool
    {
        return $this->isNotApplicable($sValue) || $this->oValidate->name($sValue);
    }
}

<?php
/**
 * Class made by pH7 (Pierre-Henry SORIA).
 */

namespace PFBC\Validation;

use PFBC\Validation;

class Name extends Validation
{
    public function __construct()
    {
        parent::__construct();

        $this->message = t("Error: %element% must be a valid name. The name doesn't seem to be correct.");
    }

    public function isValid($sValue)
    {
        return $this->isNotApplicable($sValue) || $this->oValidate->name($sValue);
    }
}

--- 
+++ 
@@ -13,10 +13,10 @@
     {
         parent::__construct();
 
-        $this->message = t("Error: %element% must be a valid name. The name doesn't seem to be correct.");
+        $this->message = t("%element% must be a valid name.");
     }
 
-    public function isValid($sValue)
+    public function isValid($sValue): bool
     {
         return $this->isNotApplicable($sValue) || $this->oValidate->name($sValue);
     }
Update error message (make it shorter)

* Update the error message (to make it shorter)
* Specify `bool` return type for `isValid` method's signature