Skip to content

Commit

Permalink
fix: use typeName
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissm79 committed Aug 27, 2016
1 parent 8803849 commit ca8fa99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema/Registrars/ConnectionRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function instance($name, $parent = null, $fresh = false)
$typeName = $this->getName($name);

if (! $fresh && $this->instances->has($typeName)) {
return $this->instances->get($name);
return $this->instances->get($typeName);
}

$key = $parent ? $parent.'.'.$typeName : $typeName;
Expand Down

0 comments on commit ca8fa99

Please sign in to comment.