Skip to content

Commit

Permalink
Merge pull request #146 from dsavina/fix/trait-usage-code-style
Browse files Browse the repository at this point in the history
Remove superfluous trailing line in trait usage generated code
  • Loading branch information
Ocramius authored Sep 13, 2022
2 parents f7cb98e + a8164d7 commit 0337d92
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Generator/TraitUsageGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,6 @@ public function generate()
}
}

return $output . self::LINE_FEED . $indent . '}' . self::LINE_FEED . self::LINE_FEED;
return $output . $indent . '}' . self::LINE_FEED . self::LINE_FEED;
}
}
1 change: 0 additions & 1 deletion test/Generator/ClassGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,6 @@ class myClass
hisTrait::foo as public test;
myTrait::bar insteadof hisTrait;
myTrait::bar insteadof thatTrait;
}
}

Expand Down

0 comments on commit 0337d92

Please sign in to comment.