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

Commit 3c55ee9

Browse files
committed
Ensure PluginManager::get adheres to AbstractPluginManager::get signature
`PluginManager::get()`'s signature prior to this patch was inconsistent with that of zend-servicemanager's `AbstractPluginManager::get()` implementation, leading to an error under PHP 7.2. This patch updates the signature to work correctly.
1 parent 03743d7 commit 3c55ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/PluginManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class PluginManager extends AbstractPluginManager
119119
* @param string $name
120120
* @return DispatchableInterface
121121
*/
122-
public function get($name, array $options = null)
122+
public function get($name, $options = [], $usePeeringServiceManagers = true)
123123
{
124124
$plugin = parent::get($name, $options);
125125
$this->injectController($plugin);

0 commit comments

Comments
 (0)