Skip to content

Commit 7ba3d12

Browse files
author
Luke Embrey
committed
Add missing return type for class dependency checking method
Returns true when a class is checked if it already exists.
1 parent df5e1df commit 7ba3d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Container/Container.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private function checkForDependencies($classToResolve, $returnClassOnly = false)
9595
if($returnClassOnly === false && $this->get($classToResolve))
9696
{
9797
// Stops classes being overwritten again if called to be resolved
98-
return;
98+
return true;
9999
}
100100

101101
// Using Reflection, load the class up...

0 commit comments

Comments
 (0)