Skip to content
Snippets Groups Projects
Commit e0bb671e authored by Demian Katz's avatar Demian Katz
Browse files

Improve method signature compatibility.

- Fixes PHP 7.2 support.
parent 504e9e04
No related merge requests found
......@@ -43,13 +43,14 @@ trait LowerCaseServiceNameTrait
/**
* Retrieve a plugin
*
* @param string $name Name of plugin
* @param string $name Name of plugin
* @param null|array $options Options to use when creating the instance.
*
* @return mixed
*/
public function get($name)
public function get($name, array $options = null)
{
return parent::get($this->getNormalizedServiceName($name));
return parent::get($this->getNormalizedServiceName($name), $options);
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment