diff --git a/artisan.md b/artisan.md index f8b96e471cb..0f1f2ff4930 100644 --- a/artisan.md +++ b/artisan.md @@ -321,7 +321,7 @@ Using the `queue` method on the `Artisan` facade, you may even queue Artisan com // }); -If you need to specify the value of an option that does not accept string values, such as the `--force` flag on the `migrate:refresh` command, you may pass a booelan `true` or `false`: +If you need to specify the value of an option that does not accept string values, such as the `--force` flag on the `migrate:refresh` command, you may pass a boolean `true` or `false`: $exitCode = Artisan::call('migrate:refresh', [ '--force' => true, diff --git a/validation.md b/validation.md index b259d1efa73..780ecc1d5df 100644 --- a/validation.md +++ b/validation.md @@ -107,7 +107,7 @@ As you can see, we simply pass the incoming HTTP request and desired validation If your HTTP request contains "nested" parameters, you may specify them in your validation rules using "dot" syntax: $this->validate($request, [ - 'title' => 'required|unqiue:posts|max:255', + 'title' => 'required|unique:posts|max:255', 'author.name' => 'required', 'author.description' => 'required', ]);