diff --git a/src/Illuminate/Testing/TestView.php b/src/Illuminate/Testing/TestView.php index ad64fb5b73a7..350e17576ab6 100644 --- a/src/Illuminate/Testing/TestView.php +++ b/src/Illuminate/Testing/TestView.php @@ -108,12 +108,14 @@ public function assertViewMissing($key) /** * Assert that the view's rendered content is empty. + * + * @return $this */ public function assertViewEmpty() { PHPUnit::assertEmpty($this->rendered); - return true; + return $this; } /**