Skip to content

Commit 0c07c20

Browse files
committed
name fixin
1 parent 29f8576 commit 0c07c20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Element/AbstractAssignedValueElement.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ protected function getFinalValue()
7878
*/
7979
protected function getScalarValue($value)
8080
{
81-
$sclarValue = null;
81+
$scalarValue = null;
8282
if (stripos($value, '::') === 0) {
83-
$sclarValue = substr($value, 2);
83+
$scalarValue = substr($value, 2);
8484
} elseif (stripos($value, '::') !== false || stripos($value, 'new ') !== false || stripos($value, '(') !== false || stripos($value, ')') !== false) {
85-
$sclarValue = $value;
85+
$scalarValue = $value;
8686
}
87-
return $sclarValue;
87+
return $scalarValue;
8888
}
8989
/**
9090
* @param mixed $value

0 commit comments

Comments
 (0)