Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Oct 4, 2024
1 parent 2f0611a commit b34f0b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Drivers/Decorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,15 @@ public function isResolverValidForScope($resolver, $scope)
}

// todo handle lotteries
// todo non object scope

return is_a($scope, $name);
}

/**
* Determine if the resolver accepts null scope.
*
* @param callable|ReflectionFunction $resolver
* @param callable|\ReflectionFunction $resolver
* @return bool
*/
protected function canHandleNullScope($resolver)
Expand Down

0 comments on commit b34f0b2

Please sign in to comment.