mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 20:39:40 +00:00
new cs rule: single_line_empty_body
Rule is added to the last version of php-cs-fixer
This commit is contained in:
@@ -74,6 +74,5 @@ class AccompanyingPeriodInfo
|
||||
* @ORM\Column(type="text")
|
||||
*/
|
||||
public readonly string $discriminator,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
}
|
||||
|
@@ -54,8 +54,7 @@ class UserHistory implements TrackCreationInterface
|
||||
* @ORM\Column(type="datetime_immutable", nullable=false, options={"default": "now()"})
|
||||
*/
|
||||
private DateTimeImmutable $startDate = new DateTimeImmutable('now')
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
public function getAccompanyingPeriod(): AccompanyingPeriod
|
||||
{
|
||||
|
@@ -57,8 +57,7 @@ class PersonCenterHistory implements TrackCreationInterface, TrackUpdateInterfac
|
||||
* @ORM\Column(type="date_immutable", nullable=false)
|
||||
*/
|
||||
private ?\DateTimeImmutable $startDate = null
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
public function getCenter(): ?Center
|
||||
{
|
||||
|
Reference in New Issue
Block a user