Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e44fbf

Browse files
authored
Update resources.rst
Removed an extra semicolons from method chaining.
1 parent 09cc5fc commit 9e44fbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/validator/resources.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ method of the Validator builder::
172172

173173
$validator = Validation::createValidatorBuilder()
174174
// ... add loaders
175-
->setMetadataCache(new ApcCache('some_apc_prefix'));
175+
->setMetadataCache(new ApcCache('some_apc_prefix'))
176176
->getValidator();
177177

178178
Using a Custom MetadataFactory
@@ -193,7 +193,7 @@ this custom implementation using
193193
use Symfony\Component\Validator\Validation;
194194

195195
$validator = Validation::createValidatorBuilder()
196-
->setMetadataFactory(new CustomMetadataFactory(...));
196+
->setMetadataFactory(new CustomMetadataFactory(...))
197197
->getValidator();
198198

199199
.. caution::

0 commit comments

Comments
 (0)