Skip to content

Commit 7bb4212

Browse files
authored
shorter
1 parent 9019950 commit 7bb4212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelDebugbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ public function addCollector(DataCollectorInterface $collector)
657657
public function handleError($level, $message, $file = '', $line = 0, $context = [])
658658
{
659659
if ($this->hasCollector('exceptions')) {
660-
$this->getCollector('exceptions')->addWarning($level, $message, $file, $line);
660+
$this['exceptions']->addWarning($level, $message, $file, $line);
661661
}
662662

663663
if ($this->hasCollector('messages')) {

0 commit comments

Comments
 (0)