Updated from some -dev modules to alpha, beta or full releases
[yaffs-website] / vendor / psy / psysh / src / CodeCleaner / ImplicitReturnPass.php
index 82bb21d8b42b63989589f291c4c96ee85171677d..60826712b5c113e007a60ed56303a9b66a20d6d7 100644 (file)
@@ -77,10 +77,12 @@ class ImplicitReturnPass extends CodeCleanerPass
                 }
             }
         } elseif ($last instanceof Expr && !($last instanceof Exit_)) {
+            // @codeCoverageIgnoreStart
             $nodes[count($nodes) - 1] = new Return_($last, [
                 'startLine' => $last->getLine(),
                 'endLine'   => $last->getLine(),
             ]);
+        // @codeCoverageIgnoreEnd
         } elseif ($last instanceof Expression && !($last->expr instanceof Exit_)) {
             // For PHP Parser 4.x
             $nodes[count($nodes) - 1] = new Return_($last->expr, [