Completed
Pull Request — master (#35)
by David
01:47
created
src/Rules/Exceptions/MustRethrowRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.