Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 23, 2019
1 parent 8e414a1 commit 878f159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/Concerns/ManagesComponents.php
Expand Up @@ -107,7 +107,7 @@ protected function componentData($name)
public function slot($name, $content = null)
{
if (func_num_args() > 2) {
throw new InvalidArgumentException('You passed the slot ['.$name.'] too many arguments.');
throw new InvalidArgumentException('You passed too many arguments to the ['.$name.'] slot.');
} elseif (func_num_args() === 2) {
$this->slots[$this->currentComponent()][$name] = $content;
} elseif (ob_start()) {
Expand Down

0 comments on commit 878f159

Please sign in to comment.