Skip to content

Commit

Permalink
Update helpers.md
Browse files Browse the repository at this point in the history
Typo.
  • Loading branch information
jrean committed Jun 15, 2015
1 parent 22f95f5 commit c05ff5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ The `response` function creates a [response](/docs/{{version}}/responses) instan
<a name="method-value"></a>
#### `value()` {#collection-method}

The `value` function's behavior will simply return the value it is given. However, if you pass a `Closure` to the function, the `Closure` will be executed the its result will be returned:
The `value` function's behavior will simply return the value it is given. However, if you pass a `Closure` to the function, the `Closure` will be executed then its result will be returned:

$value = value(function() { return 'bar'; });

Expand Down

0 comments on commit c05ff5e

Please sign in to comment.