<?php
/**
 * We made this code.
 * By pH7 (Pierre-Henry SORIA).
 */

namespace PFBC\Validation;

use PH7\ExistsCoreModel;
use PH7\Framework\Security\Ban\Ban;

class BankAccount extends \PFBC\Validation
{

    protected $sTable;

    /**
     * Constructor of class.
     *
     * @param $sTable Default 'Affiliates'
     */
    public function __construct($sTable = 'Affiliates')
    {
        parent::__construct();
        $this->sTable = $sTable;
    }

    /**
     * @param string $sValue
     * @return boolean
     */
    public function isValid($sValue)
    {
        if ($this->isNotApplicable($sValue) || $this->oValidate->email($sValue)) {
            if (!Ban::isBankAccount($sValue)) {
                if (!(new ExistsCoreModel)->bankAccount($sValue, $this->sTable)) {
                    return true;
                } else {
                    $this->message = t('Error: Another account with the same bank account already exists. Please choose another one.');
                }
            } else {
                $this->message = t('Error: This bank account is not supported by our payment system.');
            }
        } else {
            $this->message = t('Error: Your bank account is incorrect.');
        }

        return false;
    }
}

<?php
/**
 * We made this code.
 * By pH7 (Pierre-Henry SORIA).
 */

namespace PFBC\Validation;

use PH7\ExistsCoreModel;
use PH7\Framework\Security\Ban\Ban;

class BankAccount extends \PFBC\Validation
{

    protected $sTable;

    /**
     * Constructor of class.
     *
     * @param string $sTable
     */
    public function __construct($sTable = 'Affiliates')
    {
        parent::__construct();
        $this->sTable = $sTable;
    }

    /**
     * @param string $sValue
     *
     * @return bool
     */
    public function isValid($sValue)
    {
        if ($this->isNotApplicable($sValue) || $this->oValidate->email($sValue)) {
            if (!Ban::isBankAccount($sValue)) {
                if (!(new ExistsCoreModel)->bankAccount($sValue, $this->sTable)) {
                    return true;
                } else {
                    $this->message = t('Error: Another account with the same bank account already exists. Please choose another one.');
                }
            } else {
                $this->message = t('Error: This bank account is not supported by our payment system.');
            }
        } else {
            $this->message = t('Error: Your bank account is incorrect.');
        }

        return false;
    }
}

Fix wrong phpdoc type name
Fix wrong phpdoc type name
