10000 Correct basePath() parameter (#1211) · laravel/lumen-framework@1b05a57 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1b05a57

Browse files
authored
Correct basePath() parameter (#1211)
1 parent 733d119 commit 1b05a57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Application.php

Lines changed: 2 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);

0 commit comments

Comments
 (0)
0