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