Skip to content

Commit

Permalink
Couple of typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bmitch committed May 17, 2015
1 parent b1d3e23 commit 9857e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ As you can see, the resulting array will preserve the original collection's keys
<a name="method-isempty"></a>
#### `isEmpty()` {#collection-method}

The `isEmpty` method returns `true` if the collction is empty; otherwise, `false` is returned:
The `isEmpty` method returns `true` if the collection is empty; otherwise, `false` is returned:

collect([])->isEmpty() // true

Expand Down Expand Up @@ -653,7 +653,7 @@ You may optionally pass an integer to `random`. If that integer is more than `1`
<a name="method-reduce"></a>
#### `reduce()` {#collection-method}

The `reduce` method reduces the collection to a single value, passing the result of each iteration into the subsequent interation:
The `reduce` method reduces the collection to a single value, passing the result of each iteration into the subsequent iteration:

$collection = collect([1, 2, 3]);

Expand Down

0 comments on commit 9857e37

Please sign in to comment.