Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
appslanka authored and github-actions[bot] committed Nov 4, 2024
1 parent 315dba1 commit 9c664e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/bug-fix.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@
'iban',
'name',
'email',
'_token'
'_token',
],
];
1 change: 1 addition & 0 deletions src/LaravelBugFix.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public function report(Throwable $e)
$errorKey = md5($e->getMessage().$e->getFile().$e->getLine());
if (Cache::has($errorKey)) {
info('LBF NOT reporting because cached key >>> '.now());

return parent::report($e);

Check failure on line 36 in src/LaravelBugFix.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Appslanka\LaravelBugFix\LaravelBugFix::report() with return type void returns null but should not return anything.

Check failure on line 36 in src/LaravelBugFix.php

View workflow job for this annotation

GitHub Actions / phpstan

Result of method Illuminate\Foundation\Exceptions\Handler::report() (void) is used.
}

Expand Down

0 comments on commit 9c664e1

Please sign in to comment.