Skip to content

Commit

Permalink
Merge pull request #253 from analogueorm/master
Browse files Browse the repository at this point in the history
Support Laravel 5.6.5
  • Loading branch information
RemiCollin authored Feb 23, 2018
2 parents 6197c6b + 9612cfd commit 7ba3d9c
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/System/Proxies/CollectionProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,19 @@ public function diffUsing($items, callable $callback)

$parent = $this->toBaseCollection();

return $parent->diff($items, $callback);
return $parent->diffUsing($items, $callback);
}

/**
* {@inheritdoc}
*/
public function diffAssocUsing($items, callable $callback)
{
$this->initializeProxy();

$parent = $this->toBaseCollection();

return $parent->diffAssocUsing($items, $callback);
}

/**
Expand All @@ -222,6 +234,18 @@ public function diffKeys($items)
return $parent->diffKeys($items);
}

/**
* {@inheritdoc}
*/
public function diffKeysUsing($items, callable $callback)
{
$this->initializeProxy();

$parent = $this->toBaseCollection();

return $parent->diffKeysUsing($items);
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit 7ba3d9c

Please sign in to comment.