Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 641e484

Browse files
committed
Fix bug in MessageBag isEmpty method.
1 parent c2a0cdf commit 641e484

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Illuminate/Support/MessageBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public function setFormat($format = ':message')
229229
*/
230230
public function isEmpty()
231231
{
232-
return $this->any();
232+
return ! $this->any();
233233
}
234234

235235
/**

0 commit comments

Comments
 (0)