Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 69dc0c9

Browse files
authored
Merge pull request #25 from mouyong/master
fix: 引入 webman 插件时报错问题
2 parents 60f2b2c + b469480 commit 69dc0c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/helpers.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function get_variable_name(&$var, $scope = null)
1616

1717
$var = $tmp;
1818
if (!$name) {
19-
return lcfirst(get_variable_class_name_of_calss($var));
19+
return lcfirst(get_variable_name_of_class($var));
2020
}
2121

2222
unset($tmp);
@@ -26,7 +26,7 @@ function get_variable_name(&$var, $scope = null)
2626
}
2727

2828
if (!function_exists('get_variable_name_of_class')) {
29-
function get_variable_class_name_of_calss($var)
29+
function get_variable_name_of_class($var)
3030
{
3131
if (is_scalar($var)) {
3232
return null;

0 commit comments

Comments
 (0)