Skip to content

Commit

Permalink
Update README wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Sep 1, 2019
1 parent 724c166 commit ccaa796
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ use drupol\collection\Collection;
use drupol\collection\Contract\BaseCollection as CollectionInterface;
use drupol\collection\Operation\Operation;

$square = new class() extends Operation {
$square = new class extends Operation {
/**
* {@inheritdoc}
*/
Expand Down Expand Up @@ -259,9 +259,8 @@ $customCollection = new $customCollectionClass($generator);
print_r($customCollection->all()); // ['A', 'B', 'C']
```

The [Collection](./src/Collection.php) object provided by this library implements all the interfaces from this library,
and is set as `final`. Feel free to use it like it, decorated or create your own object by using the same procedure as
shown here.
The [Collection](./src/Collection.php) object implements all the interfaces from this library, and is set as `final`.
Use it like it is, decorated it or create your own object by using the same procedure as shown here.

## API

Expand Down

0 comments on commit ccaa796

Please sign in to comment.