Skip to content

Commit e435d2c

Browse files
tacmanjaviereguiluz
authored andcommitted
inline the constructor
1 parent a6f75ec commit e435d2c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

form/data_transformers.rst

+1-4
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)