@@ -36,7 +36,7 @@ |
||
36 | 36 | // Let's only apply the filter to \Exception, \RuntimeException or \Throwable |
37 | 37 | $elected = false; |
38 | 38 | foreach ($node->types as $type) { |
39 | - if (in_array((string)$type, [Exception::class, RuntimeException::class, Throwable::class], true)) { |
|
39 | + if (in_array((string) $type, [Exception::class, RuntimeException::class, Throwable::class], true)) { |
|
40 | 40 | $elected = true; |
41 | 41 | break; |
42 | 42 | } |