<?php namespace Orchestra\Contracts\Config;

interface PackageRepository
{
    /**
     * Register a package with custom file.
     *
     * @param  string  $package
     * @return void
     */
    public function file($package);

    /**
     * Register a package for cascading configuration.
     *
     * @param  string  $package
     * @param  string  $hint
     * @param  string  $namespace
     * @return void
     */
    public function package($package, $hint, $namespace = null);
}

<?php namespace Orchestra\Contracts\Config;

interface PackageRepository
{
    /**
     * Register a package for cascading configuration.
     *
     * @param  string  $package
     * @param  string  $hint
     * @param  string  $namespace
     * @return void
     */
    public function package($package, $hint, $namespace = null);
}

Simplify condition to load package config.
Simplify condition to load package config.

Signed-off-by: crynobone <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>
