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 Mar 8, 2023
1 parent b8f8eef commit 7952c2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,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 7952c2e

Please sign in to comment.