File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,11 @@ public static function isFullUrl(string $url): bool
101
101
102
102
/**
103
103
* @param string $baseUri
104
- * @param string[] ...$paths
104
+ * @param string ...$paths
105
105
*
106
106
* @return string
107
107
*/
108
- public static function joinPath (string $ baseUri , ...$ paths ): string
108
+ public static function joinPath (string $ baseUri , string ...$ paths ): string
109
109
{
110
110
return $ baseUri . ($ paths ? '/ ' . implode ('/ ' , $ paths ) : '' );
111
111
}
@@ -166,7 +166,7 @@ public static function canAccessed(string $url): bool
166
166
}
167
167
168
168
// Build arrays of values we need to decode before parsing
169
- protected static array $ entities = [
169
+ protected static $ entities = [
170
170
'%21 ' ,
171
171
'%2A ' ,
172
172
'%27 ' ,
@@ -186,7 +186,7 @@ public static function canAccessed(string $url): bool
186
186
'%5D '
187
187
];
188
188
189
- protected static array $ replacements = [
189
+ protected static $ replacements = [
190
190
'! ' ,
191
191
'* ' ,
192
192
"' " ,
You can’t perform that action at this time.
0 commit comments