diff --git a/src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs b/src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs index 14c9d7a4e0..b2645ec30f 100644 --- a/src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs +++ b/src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs @@ -396,7 +396,7 @@ namespace Umbraco.Core.Models.PublishedContent /// Only a published property type that has not already been detached or nested, can be detached. /// Use detached published property type when creating detached properties outside of a published content. /// - public PublishedPropertyType Detached() + internal PublishedPropertyType Detached() { // verify if (IsDetachedOrNested) @@ -426,7 +426,7 @@ namespace Umbraco.Core.Models.PublishedContent /// Only a published property type that has not already been detached or nested, can be nested. /// Use nested published property type when creating detached properties within a published content. /// - public PublishedPropertyType Nested(PublishedPropertyType containerType) + internal PublishedPropertyType Nested(PublishedPropertyType containerType) { // verify if (IsDetachedOrNested) diff --git a/src/Umbraco.Web/Models/DetachedContent.cs b/src/Umbraco.Web/Models/DetachedContent.cs index 541e1a5185..e572de656c 100644 --- a/src/Umbraco.Web/Models/DetachedContent.cs +++ b/src/Umbraco.Web/Models/DetachedContent.cs @@ -6,7 +6,7 @@ using Umbraco.Core.Models.PublishedContent; namespace Umbraco.Web.Models { - public class DetachedContent + internal class DetachedContent { private readonly Dictionary _properties;