Skip to content

Commit

Permalink
Let MessageBag extends Arrayable. (#19768)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot authored and taylorotwell committed Jun 26, 2017
1 parent 8485fe0 commit b5ffc7c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Illuminate/Contracts/Support/MessageBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Illuminate\Contracts\Support;

interface MessageBag
interface MessageBag extends Arrayable
{
/**
* Get the keys present in the message bag.
Expand Down Expand Up @@ -90,11 +90,4 @@ public function isEmpty();
* @return int
*/
public function count();

/**
* Get the instance as an array.
*
* @return array
*/
public function toArray();
}

0 comments on commit b5ffc7c

Please sign in to comment.