Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche authored and actions-user committed Dec 2, 2024
1 parent b8e8b56 commit 4bce65e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/Flare.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Flare

protected bool $withStackFrameArguments = true;

/** @var array<class-string, string> */
/** @var array<class-string, string> */
protected array $overriddenGroupings = [];

public static function make(
Expand Down Expand Up @@ -169,8 +169,7 @@ public function withStackFrameArguments(
public function overrideGrouping(
string $exceptionClass,
string $type = OverriddenGrouping::ExceptionMessageAndClass,
): self
{
): self {
$this->overriddenGroupings[$exceptionClass] = $type;

return $this;
Expand Down
2 changes: 1 addition & 1 deletion tests/FlareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
expect($report['handled'])->toBeTrue();
});

it('can override the grouping algorithm for specific classes', function (){
it('can override the grouping algorithm for specific classes', function () {
$throwable = new RuntimeException('This is a test');

$this->flare->overrideGrouping(
Expand Down

0 comments on commit 4bce65e

Please sign in to comment.