Skip to content

Commit

Permalink
make call chainable (#22288)
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and taylorotwell committed Dec 3, 2017
1 parent a22a93f commit a919819
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Illuminate/Database/Seeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ abstract class Seeder
*
* @param array|string $class
* @param bool $silent
* @return void
* @return $this
*/
public function call($class, $silent = false)
{
Expand All @@ -41,6 +41,8 @@ public function call($class, $silent = false)

$this->resolve($class)->__invoke();
}

return $this;
}

/**
Expand Down

0 comments on commit a919819

Please sign in to comment.