DX: apply rector rules up to php8.0

This commit is contained in:
2023-04-15 01:05:37 +02:00
parent d8870e906f
commit dde3002100
714 changed files with 2348 additions and 9263 deletions

View File

@@ -15,34 +15,10 @@ use function strtr;
class TimelineSingleQuery
{
private ?string $date;
private bool $distinct = false;
private ?string $from;
private ?string $id;
private ?string $key;
private array $parameters = [];
private ?string $where;
public function __construct(
?string $id = null,
?string $date = null,
?string $key = null,
?string $from = null,
?string $where = null,
array $parameters = []
) {
$this->id = $id;
$this->date = $date;
$this->key = $key;
$this->from = $from;
$this->where = $where;
$this->parameters = $parameters;
public function __construct(private ?string $id = null, private ?string $date = null, private ?string $key = null, private ?string $from = null, private ?string $where = null, private array $parameters = [])
{
}
public function buildSql(): string