We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
reportIf
1 parent 926690b commit 54a29e4Copy full SHA for 54a29e4
src/ExceptionNotifyManager.php
@@ -63,7 +63,7 @@ public function __construct(Container $container)
63
64
public function reportIf($condition, Throwable $e)
65
{
66
- $condition and $this->report($e);
+ value($condition) and $this->report($e);
67
}
68
69
public function report(Throwable $e)
0 commit comments