Skip to content

Commit

Permalink
Fix return value and docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightwatson committed Jan 9, 2024
1 parent 61d100a commit f9e55bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Illuminate/Testing/TestView.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit f9e55bd

Please sign in to comment.