public function detectConflicts()
    {
        $conflicts = [];
        $apps = $this->graph->getLeafNodes();
        foreach ($apps as $name => $latest) {
            if (count($latest) > 1) {
                $conflicts[$name] = $latest;
            }
        }

        return $conflicts;
    }
public function detectConflicts()
    {
        $conflicts = [];
        $apps = $this->graph->getLeafNodes();
        foreach ($apps as $name => $latest) {
            if (count($latest) > 1) {
                $conflicts[$name] = $latest;
            }
        }

        return $conflicts;
    }
public function detectConflicts ( ) { $ conflicts = [ ] ; $ apps = $ this -> graph -> getLeafNodes ( ) ; foreach ( $ apps as $ name => $ latest ) { if ( count ( $ latest ) > 1 ) { $ conflicts [ $ name ] = $ latest ; } } return $ conflicts ; }
An application should only have one leaf node more than that means there is an
issue somewhere.

@return array

@since  1.1.0

@author Eddilbert Macharia (http://eddmash.com) <edd.cowan@gmail.com>
An application should only have one leaf node more than that means there is an issue somewhere .