diff --git a/src/Illuminate/View/Concerns/ManagesComponents.php b/src/Illuminate/View/Concerns/ManagesComponents.php index d6ffa17901cf..32516fcd3800 100644 --- a/src/Illuminate/View/Concerns/ManagesComponents.php +++ b/src/Illuminate/View/Concerns/ManagesComponents.php @@ -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()) {