Skip to content

Commit

Permalink
Fix reference to method
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebronner committed Nov 20, 2017
1 parent 5f0352b commit 4b68c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Schema extends OriginalSchema
{
public static function connection($name) : Builder
{
return $this->setCustomGrammar(static::$app['db']->connection($name));
return self::setCustomGrammar(static::$app['db']->connection($name));
}

protected static function getFacadeAccessor()
Expand Down

0 comments on commit 4b68c27

Please sign in to comment.