chore: code cleanup
This commit is contained in:
@@ -59,4 +59,4 @@ class ApplicationStatusDto
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,4 +19,4 @@ class DestinationFilterDto extends AbstractFilterDto
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,4 +58,4 @@ class DocumentCheckDto
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,4 +97,4 @@ class DocumentFilterDto extends AbstractFilterDto
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ class EmailAttachmentDto
|
||||
public function __construct(
|
||||
private readonly string $name,
|
||||
private readonly string $content,
|
||||
private readonly string $mimeType
|
||||
private readonly string $mimeType,
|
||||
) {
|
||||
}
|
||||
|
||||
|
||||
@@ -56,4 +56,4 @@ class FeedbackFilterDto extends AbstractFilterDto
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,4 +93,4 @@ class TeamerFilterDto extends AbstractFilterDto
|
||||
{
|
||||
$this->noTrainings = $noTrainings;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ class TimelineItem
|
||||
private ?string $assignmentUuid = null;
|
||||
private ?string $dispositionUuid = null;
|
||||
private ?\DateTimeImmutable $dateFrom = null;
|
||||
private ?\DateTimeImmutable $dateTo = null;
|
||||
private ?\DateTimeImmutable $dateTo = null;
|
||||
private ?string $status = null;
|
||||
private ?string $dateRange = null;
|
||||
private ?string $jobProfile = null;
|
||||
|
||||
@@ -9,7 +9,7 @@ class UploadDto
|
||||
private readonly string $filename,
|
||||
private readonly string $originalFilename,
|
||||
private readonly string $mimeType,
|
||||
private readonly int $size
|
||||
private readonly int $size,
|
||||
) {
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ class UploadSessionDto
|
||||
#[Assert\Count(min: 1, minMessage: 'Bitte mindestens eine Datei hochladen')]
|
||||
private Collection $uploads;
|
||||
|
||||
public function __construct(string $uid = null)
|
||||
public function __construct(?string $uid = null)
|
||||
{
|
||||
$this->uid = $uid ?? Uuid::v4();
|
||||
$this->uploads = new ArrayCollection();
|
||||
|
||||
Reference in New Issue
Block a user