Skip to content

Commit

Permalink
Ttrailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
carusogabriel committed Dec 31, 2017
1 parent 92c7a42 commit 21d5180
Show file tree
Hide file tree
Showing 7 changed files with 2,088 additions and 2,088 deletions.
4 changes: 2 additions & 2 deletions collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ You may also call the `first` method with no arguments to get the first element
collect([1, 2, 3, 4])->first();

// 1

<a name="method-first-where"></a>
#### `firstWhere()` {#collection-method}

Expand All @@ -576,7 +576,7 @@ The `firstWhere` method returns the first element in the collection with the giv
['name' => 'Diego', 'age' => 23],
['name' => 'Linda', 'age' => 84],
]);

$collection->firstWhere('name', 'Linda');

// ['name' => 'Linda', 'age' => 14]
Expand Down
2 changes: 1 addition & 1 deletion controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ When declaring a resource route, you may specify a subset of actions the control
When declaring resource routes that will be consumed by APIs, you will commonly want to exclude routes that present HTML templates such as `create` and `edit`. For convenience, you may use the `apiResource` method to automatically exclude these two routes:

Route::apiResource('photo', 'PhotoController');

You may register many API resource controllers at once by passing an array to the `apiResources` method:

Route::apiResources([
Expand Down
Loading

0 comments on commit 21d5180

Please sign in to comment.