diff --git a/docker/glide/public/index.php b/docker/glide/public/index.php index 55ac09d8aa..b5e0a0772a 100644 --- a/docker/glide/public/index.php +++ b/docker/glide/public/index.php @@ -16,6 +16,7 @@ use League\Glide\Signatures\Signature; use League\Glide\Signatures\SignatureException; use League\Glide\Signatures\SignatureFactory; +use Override; /** * Override the actual `ServerFactory`, such that our custom `Server` is returned. @@ -25,10 +26,9 @@ class GlideServerFactory extends ServerFactory /** * Get configured custom server. * - * TODO: Mark with #[Override] - * * @return GlideServer Configured Glide server. */ + #[Override] public function getServer(): GlideServer { $server = new GlideServer( @@ -60,10 +60,9 @@ public function getServer(): GlideServer class GlideServer extends Server { /** - * TODO: Mark with #[Override] - * * - * * @inheritDoc + * @inheritDoc */ + #[Override] public function outputImage($path, array $params): void { // MODIFIED: unset the 'expires' parameter to ensure that we do not generate daily cache files. @@ -92,10 +91,9 @@ public function outputImage($path, array $params): void class GlideSignatureFactory extends SignatureFactory { /** - * TODO: Mark with #[Override] - * * @inheritDoc */ + #[Override] public static function create($signKey) { return new GlideSignature($signKey); @@ -107,10 +105,9 @@ class GlideSignature extends Signature /** * MODIFIED: check expiration from the parameters. * - * TODO: Mark with #[Override] - * * @inheritDoc */ + #[Override] public function validateRequest($path, array $params) { if (!isset($params['s'])) { @@ -130,10 +127,9 @@ public function validateRequest($path, array $params) /** * MODIFIED: use SHA3-256 instead of MD5. * - * TODO: Mark with #[Override] - * * @inheritDoc */ + #[Override] public function generateSignature($path, array $params): string { unset($params['s']); diff --git a/module/Decision/src/Model/SubDecision/Board/Installation.php b/module/Decision/src/Model/SubDecision/Board/Installation.php index 47de57f196..f868778536 100644 --- a/module/Decision/src/Model/SubDecision/Board/Installation.php +++ b/module/Decision/src/Model/SubDecision/Board/Installation.php @@ -14,6 +14,7 @@ use Doctrine\ORM\Mapping\Entity; use Doctrine\ORM\Mapping\JoinColumn; use Doctrine\ORM\Mapping\OneToOne; +use Override; /** * Installation as board member. @@ -91,6 +92,7 @@ public function setFunction(string $function): void * * @psalm-suppress InvalidNullableReturnType */ + #[Override] public function getMember(): Member { return $this->member; diff --git a/module/Decision/src/Model/SubDecision/Installation.php b/module/Decision/src/Model/SubDecision/Installation.php index 1affcdcdc3..667cc904f7 100644 --- a/module/Decision/src/Model/SubDecision/Installation.php +++ b/module/Decision/src/Model/SubDecision/Installation.php @@ -15,6 +15,7 @@ use Doctrine\ORM\Mapping\JoinColumn; use Doctrine\ORM\Mapping\OneToMany; use Doctrine\ORM\Mapping\OneToOne; +use Override; /** * Installation into organ. @@ -94,6 +95,7 @@ public function setFunction(string $function): void * * @psalm-suppress InvalidNullableReturnType */ + #[Override] public function getMember(): Member { return $this->member;