Skip to content

Commit

Permalink
Merge branch '1.0' into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Feb 6, 2024
2 parents e998486 + 13e25fe commit e50933f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BCMath.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ public static function __callStatic($name, $arguments)
}

$arguments = array_merge($numbers, $ints, [$scale, $pad]);
$result = call_user_func_array('self::' . $name, $arguments);
$result = call_user_func_array(self::class . "::$name", $arguments);
return preg_match('#^-0\.?0*$#', $result) ? substr($result, 1) : $result;
}
}

0 comments on commit e50933f

Please sign in to comment.