<?php

namespace G4\CleanCore\Validator\Param\Type;

class Email extends StringValidator
{
    public function type()
    {
        return parent::type()
            && filter_var($this->_value, FILTER_VALIDATE_EMAIL);
    }
}
<?php

namespace G4\CleanCore\Validator\Param\Type;

class Email extends StringValidator
{
    public function type()
    {
        $this->_value = preg_replace('/\s+/', '+', trim($this->_value));
        return parent::type()
            && filter_var($this->_value, FILTER_VALIDATE_EMAIL);
    }
}
Replace space ' ' in email address with plus '+'
Replace space ' ' in email address with plus '+'
