Skip to content

Commit

Permalink
fix: #273 mode strict 3
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Nov 22, 2024
1 parent 25f7a28 commit 81f27ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/DeploymentData/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct(
#[Rule(new UniqueInArray('targetPort'))]
/* @var NodePort[] */
public array $ports,
#[DataCollectionOf(Caddy::class), UniqueInArray('id')]
#[DataCollectionOf(Caddy::class), Rule(new UniqueInArray('id'))]
/* @var Caddy[] */
public array $caddy,
#[Rule(new RequiredIfArrayHas('caddy.*.targetProtocol', 'fastcgi'))]
Expand Down

0 comments on commit 81f27ad

Please sign in to comment.