Skip to content

Commit b1f4b4e

Browse files
fajinfoindjeto
authored andcommitted
Remove constructor return type void
1 parent b670d90 commit b1f4b4e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Entity/Association.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Association
1616

1717
private string $class;
1818

19-
public function __construct(string $type, ?string $table, ?string $label, int $fk, string $class): void{
19+
public function __construct(string $type, ?string $table, ?string $label, int $fk, string $class){
2020
$this->typ = $type;
2121
$this->tbl = $table;
2222
$this->label = $label;

src/Entity/AuditLog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AuditLog
2020

2121
private \DateTimeInterface $loggedAt;
2222

23-
public function __construct(string $action, string $table, ?Association $source=null, ?Association $target=null, ?Association $blame=null, ?array $diff=[], ?\DateTimeInterface $date=null): void
23+
public function __construct(string $action, string $table, ?Association $source=null, ?Association $target=null, ?Association $blame=null, ?array $diff=[], ?\DateTimeInterface $date=null)
2424
{
2525
$this->action = $action;
2626
$this->tbl = $table;

0 commit comments

Comments
 (0)