[Web] Some minor fixes and improvements for PHP 8
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
namespace Illuminate\Contracts\Support;
|
||||
|
||||
interface MessageBag extends Arrayable
|
||||
use Countable;
|
||||
|
||||
interface MessageBag extends Arrayable, Countable
|
||||
{
|
||||
/**
|
||||
* Get the keys present in the message bag.
|
||||
@@ -97,11 +99,4 @@ interface MessageBag extends Arrayable
|
||||
* @return bool
|
||||
*/
|
||||
public function isNotEmpty();
|
||||
|
||||
/**
|
||||
* Get the number of messages in the container.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function count();
|
||||
}
|
||||
|
Reference in New Issue
Block a user