Skip to content

Commit

Permalink
Make class property names camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndiritu committed Jul 14, 2022
1 parent 49a33ed commit 1b12036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/Writers/Php/CodePropertyWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private void WritePropertyDocComment(CodeProperty codeProperty, LanguageWriter w
{
writer.WriteLine($"{conventions.DocCommentPrefix}@QueryParameter(\"{codeProperty.SerializationName}\")");
}
writer.WriteLine($"{conventions.DocCommentPrefix}@var {typeString}{(codeProperty.Type.IsNullable ? "|null" : string.Empty)} ${codeProperty.Name} " +
writer.WriteLine($"{conventions.DocCommentPrefix}@var {typeString}{(codeProperty.Type.IsNullable ? "|null" : string.Empty)} ${codeProperty.Name.ToFirstCharacterLowerCase()} " +
$"{(hasDescription ? propertyDescription : string.Empty)}");
writer.WriteLine(conventions.DocCommentEnd);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void WritePropertyDocs()
{
var property = new CodeProperty()
{
Name = "email",
Name = "Email",
Access = AccessModifier.Private,
Type = new CodeType()
{
Expand Down

0 comments on commit 1b12036

Please sign in to comment.