src/Console/src/Command/SignatureParser.php
private function defineType($array = false, $optional = false): int
    {
        $type = ($optional) ? InputArgument::OPTIONAL : InputArgument::REQUIRED;

        if ($array) {
            $type = InputArgument::IS_ARRAY | $type;
        }

        return $type;
    }
private function defineType($array = false, $optional = false): int
    {
        $type = ($optional) ? InputArgument::OPTIONAL : InputArgument::REQUIRED;

        if ($array) {
            $type = InputArgument::IS_ARRAY | $type;
        }

        return $type;
    }
private function defineType ( $ array = false , $ optional = false ) : int { $ type = ( $ optional ) ? InputArgument :: OPTIONAL : InputArgument :: REQUIRED ; if ( $ array ) { $ type = InputArgument :: IS_ARRAY | $ type ; } return $ type ; }
Defines type of an argument or option based on options

@param bool $array
@param bool $optional
@return int
Defines type of an argument or option based on options