Skip to content

Commit

Permalink
UML-3570 updated WhenTheLpaCanBeUsed.php lint
Browse files Browse the repository at this point in the history
  • Loading branch information
allenannom committed Nov 14, 2024
1 parent 5666aa1 commit fbe9895
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions service-front/app/src/Common/src/Enum/WhenTheLpaCanBeUsed.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<?php

declare(strict_types=1);

namespace Common\Enum;

enum WhenTheLpaCanBeUsed: string
{
case WHEN_CAPACITY_LOST = 'when-capacity-lost';
case WHEN_HAS_CAPACITY = 'when-has-capacity';
case UNKNOWN = '';
case WHEN_CAPACITY_LOST = 'when-capacity-lost';
case WHEN_HAS_CAPACITY = 'when-has-capacity';
case UNKNOWN = '';

public function isWhenCapacityLost(): bool
{
Expand All @@ -22,4 +24,4 @@ public function isUnknown(): bool
{
return $this === WhenTheLpaCanBeUsed::UNKNOWN;
}
}
}

0 comments on commit fbe9895

Please sign in to comment.