改名
This commit is contained in:
+3
-3
@@ -508,12 +508,12 @@ if (!function_exists('Input')) {
|
|||||||
if (!function_exists('storage')) {
|
if (!function_exists('storage')) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $fileName
|
* @param string|null $fileName
|
||||||
* @param string $path
|
* @param string|null $path
|
||||||
* @return string
|
* @return string
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
function storage(string $fileName = '', string $path = ''): string
|
function storage(?string $fileName = '', ?string $path = ''): string
|
||||||
{
|
{
|
||||||
|
|
||||||
$basePath = rtrim(Snowflake::getStoragePath(), '/');
|
$basePath = rtrim(Snowflake::getStoragePath(), '/');
|
||||||
|
|||||||
Reference in New Issue
Block a user