Skip to content

Commit

Permalink
Fix stylecop errors with function parameters on separate lines
Browse files Browse the repository at this point in the history
  • Loading branch information
protherj authored and mikecp committed Oct 12, 2024
1 parent b839135 commit 421a3a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ public static T WithSupportsPublishing<T>(this T builder, bool supportsPublishin
return builder;
}

public static T WithPropertyValues<T>(this T builder, object propertyValues, string? culture = null,
string? segment = null)
public static T WithPropertyValues<T>(this T builder, object propertyValues, string? culture = null, string? segment = null)
where T : IWithPropertyValues
{
builder.PropertyValues = propertyValues;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Umbraco.Cms.Core;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Models.ContentTypeEditing;
using Umbraco.Cms.Tests.Common.Builders.Extensions;
using Umbraco.Cms.Tests.Common.Builders.Interfaces;
Expand Down Expand Up @@ -41,8 +41,7 @@ public static MediaTypeCreateModel CreateBasicMediaType(string alias = "umbImage
.Build();
}

public static MediaTypeCreateModel CreateBasicFolderMediaType(string alias = "basicFolder",
string name = "BasicFolder")
public static MediaTypeCreateModel CreateBasicFolderMediaType(string alias = "basicFolder", string name = "BasicFolder")
{
var builder = new MediaTypeEditingBuilder();
return (MediaTypeCreateModel)builder
Expand Down

0 comments on commit 421a3a9

Please sign in to comment.