Updated readme and phpdocs

This commit is contained in:
Rob Gloudemans
2013-06-03 16:12:08 +02:00
parent 5ebd3d9cd2
commit 822ce588f4
2 changed files with 3 additions and 3 deletions

View File

@@ -166,10 +166,10 @@ Cart::total();
* Search if the cart has a item
*
* @param Array $search An array with the item ID and optional options
* @return boolean
* @return Array|boolean
*/
Cart::search(array('id' => 1, 'options' => array('size' => 'L')));
Cart::search(array('id' => 1, 'options' => array('size' => 'L'))); // Returns an array of rowid(s) of found item(s) or false on failure
```
## Collections

View File

@@ -208,7 +208,7 @@ class Cart {
* Search if the cart has a item
*
* @param Array $search An array with the item ID and optional options
* @return boolean
* @return Array|boolean
*/
public function search($search)
{