mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
fix phpstan, cs, and rector rules
This commit is contained in:
@@ -788,7 +788,7 @@ class AccompanyingPeriod implements
|
||||
if (self::STEP_DRAFT === $this->getStep()) {
|
||||
return [[self::STEP_DRAFT]];
|
||||
}
|
||||
if (str_starts_with($this->getStep(), 'CONFIRM')) {
|
||||
if (str_starts_with((string) $this->getStep(), 'CONFIRM')) {
|
||||
return [[self::STEP_DRAFT, self::STEP_CONFIRMED]];
|
||||
}
|
||||
if (self::STEP_CLOSED === $this->getStep()) {
|
||||
|
Reference in New Issue
Block a user