Skip to content

Commit e0da4ab

Browse files
CS fix
1 parent 6691b31 commit e0da4ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DeprecationErrorHandler/Deprecation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ public function __construct($message, array $trace, $file)
9898
$test = isset($line['args'][0]) ? $line['args'][0] : null;
9999

100100
if (($test instanceof TestCase || $test instanceof TestSuite) && ('trigger_error' !== $trace[$i - 2]['function'] || isset($trace[$i - 2]['class']))) {
101-
$this->originClass = \get_class($line['args'][0]);
102-
$this->originMethod = $line['args'][0]->getName();
101+
$this->originClass = \get_class($test);
102+
$this->originMethod = $test->getName();
103103

104104
return;
105105
}

0 commit comments

Comments
 (0)