Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  Fix implicit nullable parameters
  Remove whitespaces from block form_help
  Fix TypeError on ProgressBar
  • Loading branch information
xabbuh committed Mar 28, 2024
2 parents 6b099f3 + 8adc869 commit 84d8448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Helper/ProgressBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ public function setMessage(string $message, string $name = 'message'): void
$this->messages[$name] = $message;
}

public function getMessage(string $name = 'message'): string
public function getMessage(string $name = 'message'): ?string
{
return $this->messages[$name];
return $this->messages[$name] ?? null;
}

public function getStartTime(): int
Expand Down

0 comments on commit 84d8448

Please sign in to comment.