Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a84e34

Browse filesBrowse files
[10.x] Illuminate\Filesystem\join_paths(): Argument #2 must be of type string, null given (#49467)
* + Added test that reproduces bug * + Added fix that resolves bug * Update src/Illuminate/Filesystem/functions.php Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com> * Update src/Illuminate/Filesystem/functions.php Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com> * ~ Don't explicitly test for null --------- Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent 1652608 commit 1a84e34
Copy full SHA for 1a84e34

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Illuminate/Filesystem/functions.php

Copy file name to clipboardExpand all lines: src/Illuminate/Filesystem/functions.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @param string ...$paths
1111
* @return string
1212
*/
13-
function join_paths($basePath, string ...$paths)
13+
function join_paths($basePath, ...$paths)
1414
{
1515
foreach ($paths as $index => $path) {
1616
if (empty($path)) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.