Skip to content

Commit 3d26303

Browse files
Nem0frweaverryan
authored andcommitted
Fix form/validation directory path
1 parent 069bffb commit 3d26303

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/form/introduction.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,8 @@ Your integration with the Validation component will look something like this::
318318
use Symfony\Component\Validator\Validation;
319319

320320
$vendorDir = realpath(__DIR__.'/../vendor');
321-
$vendorFormDir = $vendorDir.'/symfony/form/Symfony/Component/Form';
322-
$vendorValidatorDir =
323-
$vendorDir.'/symfony/validator/Symfony/Component/Validator';
321+
$vendorFormDir = $vendorDir.'/symfony/form';
322+
$vendorValidatorDir = $vendorDir.'/symfony/validator';
324323

325324
// create the validator - details will vary
326325
$validator = Validation::createValidator();

0 commit comments

Comments
 (0)