Closed frugan-dev closed 5 years ago
I don't see a problem in this current implementation. What makes you think this has a bug ?
Hi there,
if $value is a string https://github.com/auraphp/Aura.Filter/blob/f9720709ddb43f6fe59ed12ebb6537f2a3eeeadf/src/Rule/Sanitize/Double.php#L52 how could it be $value[0] here https://github.com/auraphp/Aura.Filter/blob/f9720709ddb43f6fe59ed12ebb6537f2a3eeeadf/src/Rule/Sanitize/Double.php#L77 ?
$value is not an array..
@ewake
$hey = "Hello";
echo $hey[0];
You can see the result online : https://3v4l.org/hrLoE
So nothing wrong right ?
Wow, thank you! I didn't know this.. Sorry, happy new year!
@ewake Happy New year to you too. Enjoy! .
Hi there,
Can you write a test for this?