Skip to content

Commit

Permalink
Fix typecasting
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wilson committed Mar 8, 2017
1 parent cb38627 commit 0286b80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Contracts/ManagesItemsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ public function initManager($items = null);
/**
* Hydrate with external data, optionally append
*
* @param $data string The data to be hydrated into the manager
* @param array $data string The data to be hydrated into the manager
* @param bool $append When true, data will be appended to the current set
* @return $this
*/
public function hydrate($data, $append = false);
public function hydrate(array $data, $append = false);

/**
* Adds a single item.
Expand Down

0 comments on commit 0286b80

Please sign in to comment.