Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Definition/ClassDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ public function hasMethod($class, $method)

if (is_array($this->methods)) {
return array_key_exists($method, $this->methods);
} else {
return null;
}

return null;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/InstanceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,9 @@ public function getConfig($aliasOrClass)
$key = ($this->hasAlias($aliasOrClass)) ? 'alias:' . $this->getBaseAlias($aliasOrClass) : $aliasOrClass;
if (isset($this->configurations[$key])) {
return $this->configurations[$key];
} else {
return $this->configurationTemplate;
}

return $this->configurationTemplate;
}

/**
Expand Down

0 comments on commit ebdb37c

Please sign in to comment.