Skip to content

Commit

Permalink
[4.4] remove property typheint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Glejberman committed Dec 22, 2021
1 parent ffa03f6 commit 8684ebf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions Command/ArchiveCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class ArchiveCommand extends Command

public const ARCHIVE_DAYS = 30;

protected \PDO $connection = null;
protected EntityManagerInterface $em;
protected ParameterBagInterface $params;
protected $connection = null;
protected $em;
protected $params;

public function __construct(EntityManagerInterface $em, ParameterBagInterface $params)
{
Expand Down
10 changes: 5 additions & 5 deletions Entity/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,27 @@ class Log
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private int $id;
private $id;

/**
* @ORM\Column(name="log_channel", type="string", length=255, nullable=true)
*/
private string $channel;
private $channel;

/**
* @ORM\Column(name="log_level", type="string", length=255, nullable=true)
*/
private string $level;
private $level;

/**
* @ORM\Column(name="log_message", type="text", nullable=true)
*/
private string $message;
private $message;

/**
* @ORM\Column(name="log_datetime", type="datetime", nullable=false)
*/
private \DateTimeInterface $datetime;
private $datetime;

public function getId(): int
{
Expand Down
10 changes: 5 additions & 5 deletions Entity/LogArchive.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,27 @@ class LogArchive
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private int $id;
private $id;

/**
* @ORM\Column(name="log_channel", type="string", length=255, nullable=true)
*/
private string $channel;
private $channel;

/**
* @ORM\Column(name="log_level", type="string", length=255, nullable=true)
*/
private string $level;
private $level;

/**
* @ORM\Column(name="log_message", type="text", nullable=true)
*/
private string $message;
private $message;

/**
* @ORM\Column(name="log_datetime", type="datetime", nullable=false)
*/
private \DateTimeInterface $datetime;
private $datetime;

public function getId(): int
{
Expand Down

0 comments on commit 8684ebf

Please sign in to comment.