Skip to content

Commit

Permalink
Fixed another error in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rikbruil committed Mar 8, 2015
1 parent 97fe6eb commit cb7a776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $inCollection = new InCollectionSpecification();

// example of specification pattern logic chaining
$sendToCollection = $overDue->andX($noticeSent)
->andX($inCollection->not());
->not($inCollection);

foreach ($service->getInvoices() as $currentInvoice) {
if (! $sendToCollection->isSatisfiedBy($currentInvoice)) {
Expand Down

0 comments on commit cb7a776

Please sign in to comment.