From 6a87658ad839680819710917a2be846afbc05fc9 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 15 Aug 2016 15:38:52 +0200 Subject: [PATCH] Remove bogus .coveralls.yml file --- .coveralls.yml | 1 - lib/Coroutine.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 6b74c21..0000000 --- a/.coveralls.yml +++ /dev/null @@ -1 +0,0 @@ -src_dir: lib diff --git a/lib/Coroutine.php b/lib/Coroutine.php index 4c8e052..f27673b 100644 --- a/lib/Coroutine.php +++ b/lib/Coroutine.php @@ -65,9 +65,9 @@ final class Coroutine implements Awaitable { } if ($yielded instanceof Awaitable) { - $this->depth++; + ++$this->depth; $yielded->when($this->when); - $this->depth--; + --$this->depth; return; }