From e0358c9c688f017847ff1f7d034a68e5d4e732cf Mon Sep 17 00:00:00 2001 From: Matthew Setter Date: Wed, 5 Sep 2018 11:45:33 +0200 Subject: [PATCH] Fix code bug in InputFilter docs code example When I was working through the InputFilter documentation recently, I came across a mistake in one of the examples. This commit fixes the bug. --- docs/book/intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/intro.md b/docs/book/intro.md index b85dc502..3f391335 100644 --- a/docs/book/intro.md +++ b/docs/book/intro.md @@ -70,7 +70,7 @@ $input->getFilterChain() ->attachByName('alpha'); $inputFilter = new InputFilter(); -$inputFilter->add($input) +$inputFilter->add($input); $inputFilter->setData([ 'foo' => ' Bar3 ', ]);