diff --git a/lib/Formatters/ContactFormatter.php b/lib/Formatters/ContactFormatter.php index b3ea312e..919682bd 100644 --- a/lib/Formatters/ContactFormatter.php +++ b/lib/Formatters/ContactFormatter.php @@ -86,7 +86,7 @@ public function format( array $data ) { * * @return array|array[] */ - public function map_api_contacts( array $ids = [], array $field_keys = [], $default_image = null ) { + public function map_api_contacts( array $ids = [], array $field_keys = [], $default_image = null ) { // phpcs:ignore if ( empty( $ids ) ) { return []; } diff --git a/lib/Formatters/PlaceOfBusinessFormatter.php b/lib/Formatters/PlaceOfBusinessFormatter.php index f03df34e..d66b253e 100644 --- a/lib/Formatters/PlaceOfBusinessFormatter.php +++ b/lib/Formatters/PlaceOfBusinessFormatter.php @@ -102,7 +102,7 @@ public function map_api_results( array $ids = [] ) : array { * @return array */ public function map_keys( array $posts ) : array { - if( ! \is_plugin_active( 'tms-plugin-place-of-business-sync/plugin.php' ) ) { + if ( ! \is_plugin_active( 'tms-plugin-place-of-business-sync/plugin.php' ) ) { return []; }