public function fromDefaultLocations(): Configuration
    {
        foreach ($this->defaultFiles as $file) {
            try {
                return $this->fromUri(new Uri($file));
            } catch (\InvalidArgumentException $e) {
                continue;
            }
        }

        return new Configuration($this->applyMiddleware(Version3::buildDefault()));
    }
public function fromDefaultLocations(): Configuration
    {
        foreach ($this->defaultFiles as $file) {
            try {
                return $this->fromUri(new Uri($file));
            } catch (\InvalidArgumentException $e) {
                continue;
            }
        }

        return new Configuration($this->applyMiddleware(Version3::buildDefault()));
    }
public function fromDefaultLocations ( ) : Configuration { foreach ( $ this -> defaultFiles as $ file ) { try { return $ this -> fromUri ( new Uri ( $ file ) ) ; } catch ( \ InvalidArgumentException $ e ) { continue ; } } return new Configuration ( $ this -> applyMiddleware ( Version3 :: buildDefault ( ) ) ) ; }
Attempts to load a configuration from the default locations for phpDocumentor

@return Configuration
Attempts to load a configuration from the default locations for phpDocumentor