diff --git a/includes/classes/Connection.php b/includes/classes/Connection.php index ee06ced51..9e22f5441 100644 --- a/includes/classes/Connection.php +++ b/includes/classes/Connection.php @@ -48,7 +48,7 @@ abstract public function remote_get( $args ); * @param boolean $overwrite Whether to overwrite the sync log. Optional. * @since 0.8 */ - abstract public function log_sync( array $item_id_mappings, $id, bool $overwrite ); + abstract public function log_sync( array $item_id_mappings, $id, $overwrite ); /** * Get the sync log diff --git a/tests/php/includes/common.php b/tests/php/includes/common.php index 9c3978bba..fc019af73 100644 --- a/tests/php/includes/common.php +++ b/tests/php/includes/common.php @@ -284,7 +284,7 @@ public function pull( $items ) { } public function remote_get( $args ) { } - public function log_sync( array $item_id_mappings, $id, bool $overwrite ) {} + public function log_sync( array $item_id_mappings, $id, $overwrite ) {} public function get_sync_log( $id ) {}