Skip to content

Commit

Permalink
remove temp var
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Apr 13, 2020
1 parent 4f6b858 commit da0f83e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/CallableFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ public function assertCalled(callable $callback): self

public function assertNotCalled(callable $callback): self
{
$calls = $this->called($callback);

Assert::assertCount(0, $calls, 'An unexpected callable was called.');
Assert::assertCount(0, $this->called($callback), 'An unexpected callable was called.');

return $this;
}
Expand Down

0 comments on commit da0f83e

Please sign in to comment.