Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
@@ -27,14 +27,12 @@ trait ClassResolverTrait
*
* @param object|string $value
*
* @return string
*
* @throws InvalidArgumentException If the class does not exist
*/
private function getClass($value)
private function getClass($value): string
{
if (\is_string($value)) {
if (!class_exists($value) && !interface_exists($value)) {
if (!class_exists($value) && !interface_exists($value, false)) {
throw new InvalidArgumentException(sprintf('The class or interface "%s" does not exist.', $value));
}