Keeping with WP coding standards

https://make.wordpress.org/core/handbook/coding-standards/php/#brace-style