Run php-cs-fixer on src

This commit is contained in:
2025-12-17 04:25:47 +09:00
parent 0a77f46fe1
commit f782d20e56
19 changed files with 237 additions and 264 deletions

View File

@@ -4,14 +4,12 @@ declare(strict_types=1);
namespace pvv\side;
use DateTimeImmutable;
class SimpleEvent extends Event {
private int $id;
private string $name;
private array $descr;
private DateTimeImmutable $start;
private DateTimeImmutable $end;
private \DateTimeImmutable $start;
private \DateTimeImmutable $end;
private string $org;
private string $loc;
@@ -38,11 +36,11 @@ class SimpleEvent extends Event {
return $this->id;
}
public function getStart(): DateTimeImmutable {
public function getStart(): \DateTimeImmutable {
return $this->start;
}
public function getStop(): DateTimeImmutable {
public function getStop(): \DateTimeImmutable {
return $this->end;
}
@@ -59,11 +57,11 @@ class SimpleEvent extends Event {
}
public function getURL(): string {
return "/hendelser/info.php?id=" . $this->id;
return '/hendelser/info.php?id=' . $this->id;
}
public function getImageURL(): string {
return "/";
return '/';
}
public function getDescription(): array {
@@ -71,6 +69,6 @@ class SimpleEvent extends Event {
}
public function getColor(): string {
return "#3b7";
return '#3b7';
}
}