Skip to content

Commit

Permalink
Merge pull request #3 from flavorly/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nikuscs authored Jul 8, 2024
2 parents 7b5e71e + 6a1264c commit c11d1bf
Show file tree
Hide file tree
Showing 8 changed files with 1,097 additions and 472 deletions.
7 changes: 6 additions & 1 deletion config/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
return [
/*
|--------------------------------------------------------------------------
| Base Configuration
| Math Helper Configuration
|--------------------------------------------------------------------------
|
| All notable configurations will show here.
|
*/
'math' => [
'scale' => 10,
'storage_scale' => 10,
'rounding_mode' => \Brick\Math\RoundingMode::DOWN,
],
];
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ parameters:
# Level 9 is the highest level
level: 9
ignoreErrors:
- '#on Brick\\Math\\BigDecimal\|float\|int\|string#'
scanFiles:
excludePaths:
- tests/*/Feature/*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/OptionData.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ public function __construct(
public Optional|null|string $groupIcon = null,
/** @var Collection<int,OptionData>|null */
public Optional|Collection|null $items = null,
) {}
) {
}
}
Loading

0 comments on commit c11d1bf

Please sign in to comment.