Make space styles consistent and to meet WP code standards

https://make.wordpress.org/core/handbook/coding-standards/php/#space-usa
ge