Skip to content

Commit

Permalink
Bumps dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Apr 24, 2024
1 parent 95fd727 commit 5d69424
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -36,7 +36,7 @@
"laravel-zero/foundation": "dev-main",
"league/flysystem": "^3.27.0",
"nunomaduro/collision": "^8.1.1",
"nunomaduro/laravel-console-summary": "^1.11.1",
"nunomaduro/laravel-console-summary": "^1.12.1",
"nunomaduro/laravel-console-task": "^1.9",
"nunomaduro/laravel-desktop-notifier": "^2.8.1",
"psr/log": "^3.0",
Expand All @@ -61,7 +61,7 @@
"illuminate/view": "^11.5.0",
"laminas/laminas-text": "^2.11",
"laravel-zero/phar-updater": "^1.4",
"laravel/pint": "^1.15.1",
"laravel/pint": "^1.15.2",
"nunomaduro/laravel-console-dusk": "^1.13",
"nunomaduro/laravel-console-menu": "^3.5",
"pestphp/pest": "^2.34.7",
Expand Down
5 changes: 2 additions & 3 deletions src/Bootstrap/BaseLoadConfiguration.php
Expand Up @@ -13,9 +13,9 @@

namespace LaravelZero\Framework\Bootstrap;

use ReflectionClass;
use Illuminate\Contracts\Foundation\Application as ApplicationContract;
use Illuminate\Foundation\Bootstrap\LoadConfiguration;
use ReflectionClass;
use Symfony\Component\Finder\Finder;

use function basename;
Expand Down Expand Up @@ -64,10 +64,9 @@ protected function getBaseConfiguration()
$dir = dirname($declaringClass->getFilename());

foreach (Finder::create()->files()->name('*.php')->in($dir.'/../../../../config') as $file) {
$config[basename($file->getRelativePathname(), '.php')] = require ($file->getPath() . '/' . $file->getFilename());
$config[basename($file->getRelativePathname(), '.php')] = require $file->getPath().'/'.$file->getFilename();
}

return $config;
}
}

0 comments on commit 5d69424

Please sign in to comment.