Skip to content

Commit

Permalink
Add ->find() to Cocur\Chain\Chain
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Eckerstorfer committed Dec 4, 2017
1 parent e6bd8e8 commit 529a3ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Chain.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Cocur\Chain\Link\Fill;
use Cocur\Chain\Link\Filter;
use Cocur\Chain\Link\First;
use Cocur\Chain\Link\Find;
use Cocur\Chain\Link\Flip;
use Cocur\Chain\Link\Intersect;
use Cocur\Chain\Link\IntersectAssoc;
Expand Down Expand Up @@ -50,6 +51,7 @@ class Chain extends AbstractChain implements Countable
Diff,
Filter,
Fill,
Find,
First,
Flip,
Intersect,
Expand Down
1 change: 1 addition & 0 deletions tests/ChainTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function chainHasTraits()
$this->assertTrue(method_exists($c, 'diff'));
$this->assertTrue(method_exists($c, 'fill'));
$this->assertTrue(method_exists($c, 'filter'));
$this->assertTrue(method_exists($c, 'find'));
$this->assertTrue(method_exists($c, 'first'));
$this->assertTrue(method_exists($c, 'flip'));
$this->assertTrue(method_exists($c, 'intersect'));
Expand Down

0 comments on commit 529a3ad

Please sign in to comment.