Skip to content
Permalink
Browse files

formatting

  • Loading branch information
taylorotwell committed Dec 23, 2019
1 parent 8e414a1 commit 878f15922523e748bfbfdf50f40269f8ffe20d9d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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()) {

0 comments on commit 878f159

Please sign in to comment.
You can’t perform that action at this time.