mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +02:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
@ -32,6 +32,7 @@ use App\Entity\Contracts\TimeTravelInterface;
|
|||
use App\Entity\LogSystem\AbstractLogEntry;
|
||||
use App\Entity\LogSystem\CollectionElementDeleted;
|
||||
use App\Entity\LogSystem\ElementEditedLogEntry;
|
||||
use App\Repository\LogEntryRepository;
|
||||
use Brick\Math\BigDecimal;
|
||||
use DateTime;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
|
@ -44,8 +45,8 @@ use ReflectionClass;
|
|||
|
||||
class TimeTravel
|
||||
{
|
||||
protected $em;
|
||||
protected $repo;
|
||||
protected EntityManagerInterface $em;
|
||||
protected LogEntryRepository $repo;
|
||||
|
||||
public function __construct(EntityManagerInterface $em)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue