Skip to content

Commit 93e0224

Browse files
committed
Merge branch '8.x'
# Conflicts: # composer.json # src/Application.php
2 parents ea58554 + 1b05a57 commit 93e0224

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"vlucas/phpdotenv": "^5.2"
5353
},
5454
"require-dev": {
55-
"mockery/mockery": "^1.4.2",
55+
"mockery/mockery": "^1.4.4",
5656
"phpunit/phpunit": "^9.5.8"
5757
},
5858
"suggest": {

src/Application.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,10 +791,10 @@ public function path()
791791
/**
792792
* Get the base path for the application.
793793
*
794-
* @param string|null $path
794+
* @param string $path
795795
* @return string
796796
*/
797-
public function basePath($path = null)
797+
public function basePath($path = '')
798798
{
799799
if (isset($this->basePath)) {
800800
return $this->basePath.($path ? '/'.$path : $path);
@@ -1015,6 +1015,7 @@ protected function registerContainerAliases()
10151015
\Illuminate\Contracts\Cache\Factory::class => 'cache',
10161016
\Illuminate\Contracts\Cache\Repository::class => 'cache.store',
10171017
\Illuminate\Contracts\Config\Repository::class => 'config',
1018+
\Illuminate\Config\Repository::class => 'config',
10181019
\Illuminate\Container\Container::class => 'app',
10191020
\Illuminate\Contracts\Container\Container::class => 'app',
10201021
\Illuminate\Database\ConnectionResolverInterface::class => 'db',

0 commit comments

Comments
 (0)