Closed PhantomArt closed 7 years ago
$filter->sanitize('value')->to('int')->useBlankValue(0); $subject = ['value' => 'abc']; $filter->apply($subject);
PHP Notice: Uninitialized string offset: 0 in aura\filter\src\Rule\Sanitize\Integer.php on line 66
@PhantomArt Thank you for the report.
Fixed in #133 . Will wait for review.
Fixed in 2.3.1 : https://github.com/auraphp/Aura.Filter/releases/tag/2.3.1