Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sonja-turo authored and github-actions[bot] committed Mar 3, 2024
1 parent f9f2035 commit 0743b14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/Bread.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
class Bread
{
public function __construct(protected readonly BreadType $breadEnum)
{ }
{
}

public function getHealthValue()
{
return match($this->breadEnum) {
return match ($this->breadEnum) {
BreadType::GlutenFree => 3,
BreadType::Dwarf => -4,
BreadType::Raisin => 7,
Expand Down
2 changes: 1 addition & 1 deletion src/BreadType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ enum BreadType
case Raisin;
case Dwarf;
case None;
}
}
1 change: 1 addition & 0 deletions src/FeederWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class FeederWidget extends Widget
public string $audioAsset = '';

public int $starvationRate = 1000;

public int $bread = 5;

protected static ?array $options = [
Expand Down

0 comments on commit 0743b14

Please sign in to comment.