Skip to content

Commit ea2c692

Browse files
committed
Fix isEmpty on fake
1 parent d1c27e1 commit ea2c692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Testing/FakeMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function uid(): int
3131
*/
3232
protected function isEmpty(): bool
3333
{
34-
return empty($this->head) && empty($this->body);
34+
return empty($this->contents);
3535
}
3636

3737
/**

0 commit comments

Comments
 (0)