Skip to content

Commit 47c2c6f

Browse files
authored
Fix return value and docblock (#49627)
1 parent 61d100a commit 47c2c6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Illuminate/Testing/TestView.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,14 @@ public function assertViewMissing($key)
108108

109109
/**
110110
* Assert that the view's rendered content is empty.
111+
*
112+
* @return $this
111113
*/
112114
public function assertViewEmpty()
113115
{
114116
PHPUnit::assertEmpty($this->rendered);
115117

116-
return true;
118+
return $this;
117119
}
118120

119121
/**

0 commit comments

Comments
 (0)