Skip to content

Commit

Permalink
Fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Aug 29, 2024
1 parent 1fac82f commit 1bbf914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Recorders/Exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected function resolveLocationFromViewException(Throwable $e): string
// Getting the line number in the view file is a bit tricky.
preg_match('/\(View: (?P<path>.*?)\)/', $e->getMessage(), $matches);

return $this->formatLocation($matches['path'], null);
return $this->formatLocation($matches['path'], null); // @phpstan-ignore offsetAccess.notFound
}

/**
Expand Down

0 comments on commit 1bbf914

Please sign in to comment.