clean up parent resource registration

This commit is contained in:
Dan Harrin
2025-04-18 16:37:47 +01:00
parent fa2accf4e2
commit e3e416a25d
2 changed files with 2 additions and 2 deletions
@@ -15,7 +15,7 @@ trait BelongsToParent
*/
protected static ?string $parentResource = null;
public static function getParentResource(): string | ParentResourceRegistration | null
public static function getParentResource(): ?string
{
return static::$parentResource;
}
@@ -43,7 +43,7 @@ trait HasNavigation
return;
}
if (static::getParentResource()) {
if (static::getParentResourceRegistration()) {
return;
}