Skip to content

Commit 1422042

Browse files
committed
Revert
1 parent 05fff59 commit 1422042

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

reference/constraints/Compound.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ you can create your own named set or requirements to be reused consistently ever
2626
// src/Validator/Constraints/PasswordRequirements.php
2727
namespace App\Validator\Constraints;
2828

29-
use Symfony\Component\Validator\Constraints\Compound;
29+
use Symfony\Component\Validator\Compound;
3030
use Symfony\Component\Validator\Constraints as Assert;
3131

3232
/**

translation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,10 @@ parts of your application and mocking it in your tests.
307307

308308
Instead of translating a string at the time of creation, you can use a
309309
"translatable object", which is an instance of the
310-
:class:`Symfony\\Component\\Translation\\TranslatableMessage` class. This object stores
310+
:class:`Symfony\\Component\\Translation\\Translatable` class. This object stores
311311
all the information needed to fully translate its contents when needed::
312312

313-
use Symfony\Component\Translation\TranslatableMessage;
313+
use Symfony\Component\Translation\Translatable;
314314

315315
// the first argument is required and it's the original message
316316
$message = new Translatable('Symfony is great!');

0 commit comments

Comments
 (0)