Skip to content

Commit 9baa16e

Browse files
authored
Merge pull request #13 from peckadesign/fix-3-0-0-supervisor-extension
Fix error: Cannot use object of type stdClass as array
2 parents b06966b + d6461dc commit 9baa16e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DI/SupervisorExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function loadConfiguration(): void
1919
{
2020
$builder = $this->getContainerBuilder();
2121

22-
$config = $this->getConfig();
22+
$config = (array) $this->getConfig();
2323

2424
if ( ! isset($config['prefix'])) {
2525
throw new \Pd\Supervisor\DI\MissingConfigurationValueException(

0 commit comments

Comments
 (0)