protected function getTypesSorted()
    {
        $types = $this->getTypes();
        usort($types, function ($first, $second) {
            /* @var Type $first */
            /* @var Type $second */
            return $first->name == 'mixed' ? 1 : 0;
        });

        return $types;
    }
protected function getTypesSorted()
    {
        $types = $this->getTypes();
        usort($types, function ($first, $second) {
            /* @var Type $first */
            /* @var Type $second */
            return $first->name == 'mixed' ? 1 : 0;
        });

        return $types;
    }
protected function getTypesSorted ( ) { $ types = $ this -> getTypes ( ) ; usort ( $ types , function ( $ first , $ second ) { /* @var Type $first */ /* @var Type $second */ return $ first -> name == 'mixed' ? 1 : 0 ; } ) ; return $ types ; }
We have to place mixed normalization path at the last.

@return Type[]
We have to place mixed normalization path at the last .