diff --git a/src/ValueObjects/DomainObject.php b/src/ValueObjects/DomainObject.php index 7f8bddc..c4ca814 100644 --- a/src/ValueObjects/DomainObject.php +++ b/src/ValueObjects/DomainObject.php @@ -47,6 +47,8 @@ public static function fromClass(string $fullyQualifiedClass, ?string $objectTyp $objectNamespace = str(data_get($matches, 0))->beforeLast('\\')->toString(); $objectType = $type; + + break; } // If there wasn't a recognized namespace, we'll assume it's a