Skip to content

Commit a092e41

Browse files
committed
formatting
1 parent f108ebf commit a092e41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helpers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,8 +1564,8 @@ The `view` function retrieves a [view](/docs/{{version}}/views) instance:
15641564

15651565
<a name="method-with"></a>
15661566
#### `with()` {#collection-method}
1567-
1568-
The `with` function returns the value it is given. However, if you also pass a `Closure` as a second argument to the function, the `Closure` will be executed then its result will be returned:
1567+
1568+
The `with` function returns the value it is given. If a `Closure` is passed as the second argument to the function, the `Closure` will be executed its result will be returned:
15691569

15701570
$callback = function ($value) {
15711571
return (is_numeric($value)) ? $value * 2 : 0;

0 commit comments

Comments
 (0)