Skip to content

Commit 52c551e

Browse files
committed
Merge remote-tracking branch 'origin/5.2' into 5.2
2 parents 14a060c + 1190e55 commit 52c551e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ The `forget` method removes an item from the collection by its key:
401401

402402
$collection->all();
403403

404-
// [framework' => 'laravel']
404+
// ['framework' => 'laravel']
405405

406406
> **Note:** Unlike most other collection methods, `forget` does not return a new modified collection; it modifies the collection it is called on.
407407

seeding.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,9 @@ Within the `DatabaseSeeder` class, you may use the `call` method to execute addi
7575
*/
7676
public function run()
7777
{
78-
Model::unguard();
79-
8078
$this->call(UsersTableSeeder::class);
8179
$this->call(PostsTableSeeder::class);
8280
$this->call(CommentsTableSeeder::class);
83-
84-
Model::reguard();
8581
}
8682

8783
<a name="running-seeders"></a>

0 commit comments

Comments
 (0)