Skip to content

Commit 30f7d5f

Browse files
authored
[Validator] Add a missing namespace and use
1 parent 60cd0f7 commit 30f7d5f

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)