Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arise PHP Notice when I try to sanitize #132

Closed
PhantomArt opened this issue Apr 19, 2017 · 2 comments
Closed

Arise PHP Notice when I try to sanitize #132

PhantomArt opened this issue Apr 19, 2017 · 2 comments

Comments

@PhantomArt
Copy link

$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
@harikt
Copy link
Member

harikt commented Apr 19, 2017

@PhantomArt Thank you for the report.

Fixed in #133 . Will wait for review.

@harikt
Copy link
Member

harikt commented Apr 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants