Update AbstractScalar.php