Skip to content

Commit

Permalink
Changed to return ItemInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
cjonstrup committed Jan 25, 2019
1 parent 8876b5a commit 1a99584
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Lenius/Basket/Storage/LaravelSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
namespace Lenius\Basket\Storage;

use Illuminate\Support\Facades\Session;
use Lenius\Basket\Item;
use Lenius\Basket\ItemInterface;
use Lenius\Basket\StorageInterface;

/**
Expand Down Expand Up @@ -85,7 +85,7 @@ public function &data($asArray = false)
*
* @param mixed $identifier
*
* @return bool|Item
* @return bool|ItemInterface
*
* @internal param mixed $id
*/
Expand All @@ -105,7 +105,7 @@ public function has($identifier)
*
* @param mixed $identifier
*
* @return bool|Item
* @return bool|ItemInterface
*
* @internal param mixed $id The item id
*/
Expand All @@ -125,7 +125,7 @@ public function item($identifier)
*
* @param string $id The item id
*
* @return bool|Item
* @return bool|ItemInterface
*/
public function find($id)
{
Expand Down

0 comments on commit 1a99584

Please sign in to comment.