Skip to content

Commit b982a55

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: inline the constructor
2 parents cab1394 + c0b5323 commit b982a55

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

form/data_transformers.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,8 @@ to and from the issue number and the ``Issue`` object::
177177

178178
class IssueToNumberTransformer implements DataTransformerInterface
179179
{
180-
private $entityManager;
181-
182-
public function __construct(EntityManagerInterface $entityManager)
180+
public function __construct(private EntityManagerInterface $entityManager)
183181
{
184-
$this->entityManager = $entityManager;
185182
}
186183

187184
/**

0 commit comments

Comments
 (0)