Skip to content

Commit 4b23cb8

Browse files
committed
chore(ExceptionContext): remove commented code for clarity
- Removed commented line that was not needed - This improves code readability and maintains clean code standards - Ensures that the method remains focused on its primary functionality
1 parent adee059 commit 4b23cb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Support/ExceptionContext.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ private static function getEval(\Throwable $throwable)
6969

7070
private static function getFile(\Throwable $throwable): array
7171
{
72+
// file($throwable->getFile());
7273
return collect(explode(\PHP_EOL, file_get_contents($throwable->getFile())))
7374
->slice($throwable->getLine() - 10, 20)
7475
->mapWithKeys(static fn (string $code, int $line): array => [$line + 1 => $code])

0 commit comments

Comments
 (0)