Skip to content

Commit

Permalink
extra trim call not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Aug 9, 2022
1 parent f376574 commit 967d5c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,6 @@ public function get_declarations_string( $should_prettify = false, $indent_count
* @return string The sanitized property name.
*/
protected function sanitize_property( $property ) {
return trim( sanitize_key( $property ) );
return sanitize_key( $property );
}
}

0 comments on commit 967d5c2

Please sign in to comment.