From 6162457229ab6ce059e814b6f6e51793ab1afde8 Mon Sep 17 00:00:00 2001 From: praveenkaransingh Date: Tue, 15 Sep 2020 12:24:00 +0530 Subject: [PATCH] Issue-32: PHP 7.3 compatibility issues fixes Master. --- src/Path.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Path.php b/src/Path.php index 2f4a177..42ffc7b 100644 --- a/src/Path.php +++ b/src/Path.php @@ -848,8 +848,9 @@ public static function getLongestCommonBasePath(array $paths) */ public static function join($paths) { + $args = func_get_args(); if (!is_array($paths)) { - $paths = func_get_args(); + $paths = $args; } Assert::allString($paths, 'The paths must be strings. Got: %s');