protected function checkSaltPositionArgument($position): void
    {
        if (!in_array($position, [self::SALT_BEFORE, self::SALT_AFTER])) {
            throw new InvalidArgumentException(sprintf(
                '`%s` is an invalud argument, it has to be `` or ``',
                $position,
                self::SALT_BEFORE,
                self::SALT_AFTER
            ));
        }
    }
protected function checkSaltPositionArgument($position): void
    {
        if (!in_array($position, [self::SALT_BEFORE, self::SALT_AFTER])) {
            throw new InvalidArgumentException(sprintf(
                '`%s` is an invalud argument, it has to be `` or ``',
                $position,
                self::SALT_BEFORE,
                self::SALT_AFTER
            ));
        }
    }
protected function checkSaltPositionArgument ( $ position ) : void { if ( ! in_array ( $ position , [ self :: SALT_BEFORE , self :: SALT_AFTER ] ) ) { throw new InvalidArgumentException ( sprintf ( '`%s` is an invalud argument, it has to be `` or ``' , $ position , self :: SALT_BEFORE , self :: SALT_AFTER ) ) ; } }
Checks the salt position argument

@return void
Checks the salt position argument