Skip to content

Commit f28bc9b

Browse files
committed
minor #14946 [Validator] Add a missing namespace and use (wkania)
This PR was merged into the 4.4 branch. Discussion ---------- [Validator] Add a missing namespace and use <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 30f7d5f [Validator] Add a missing namespace and use
2 parents 238a94f + 30f7d5f commit f28bc9b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

validation/custom_constraint.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ not to the property:
228228

229229
.. code-block:: php-annotations
230230
231+
// src/Entity/AcmeEntity.php
232+
namespace App\Entity;
233+
234+
use App\Validator as AcmeAssert;
235+
231236
/**
232237
* @AcmeAssert\ProtocolClass
233238
*/

0 commit comments

Comments
 (0)