Completed
Push — add/sync-partial-sync-checksum... ( b214f6...f71524 )
by
unknown
08:04
created
packages/sync/src/replicastore/class-table-checksum.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,6 @@  discard block
 block discarded – undo
28 28
 	 *
29 29
 	 * @param string $table
30 30
 	 * @param string $salt
31
-	 * @param string $range_field
32
-	 * @param null   $key_fields
33
-	 * @param null   $filter_field
34
-	 * @param array  $checksum_fields
35 31
 	 */
36 32
 
37 33
 	public function __construct( $table, $salt = null ) {
@@ -118,6 +114,9 @@  discard block
 block discarded – undo
118 114
 		$this->additional_filter_sql = ! empty( $table_configuration['filter_sql'] ) ? $table_configuration['filter_sql'] : '';
119 115
 	}
120 116
 
117
+	/**
118
+	 * @param string $table
119
+	 */
121 120
 	private function validate_table_name( $table ) {
122 121
 		if ( empty( $table ) ) {
123 122
 			throw new Exception( 'Invalid table name: empty' );
@@ -265,6 +264,9 @@  discard block
 block discarded – undo
265 264
 
266 265
 	}
267 266
 
267
+	/**
268
+	 * @param integer $limit
269
+	 */
268 270
 	public function get_range_edges( $range_from = null, $range_to = null, $limit = null ) {
269 271
 		global $wpdb;
270 272
 
Please login to merge, or discard this patch.