Skip to content

Commit 9924160

Browse files
Update src/SparxstarGluonOrchestrator.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Max Barrett <34328348+MaximillianGroup@users.noreply.github.com>
1 parent efbfbe0 commit 9924160

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/SparxstarGluonOrchestrator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ private function gluonInitDependency( string $dependency ): void {
193193
$this->dependencies[ $dependency ] = $dependency::gluonGetInstance();
194194
} elseif ( method_exists( $dependency, 'getInstance' ) ) {
195195
$this->dependencies[ $dependency ] = $dependency::getInstance();
196+
} elseif ( method_exists( $dependency, 'getInstance' ) ) {
197+
$this->dependencies[ $dependency ] = $dependency::getInstance();
196198
} else {
197199
$this->dependencies[ $dependency ] = new $dependency();
198200
}

0 commit comments

Comments
 (0)