Completed
Push — add/sync-partial-sync-checksum... ( bd259b...b214f6 )
by
unknown
08:24
created
packages/sync/src/replicastore/class-table-checksum.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,10 +24,6 @@  discard block
 block discarded – undo
24 24
 	 *
25 25
 	 * @param string $table
26 26
 	 * @param string $salt
27
-	 * @param string $range_field
28
-	 * @param null   $key_fields
29
-	 * @param null   $filter_field
30
-	 * @param array  $checksum_fields
31 27
 	 */
32 28
 
33 29
 	public function __construct( $table, $salt = null ) {
@@ -99,6 +95,9 @@  discard block
 block discarded – undo
99 95
 		$this->checksum_fields = $table_configuration['checksum_fields'];
100 96
 	}
101 97
 
98
+	/**
99
+	 * @param string $table
100
+	 */
102 101
 	private function validate_table_name( $table ) {
103 102
 		if ( empty( $table ) ) {
104 103
 			throw new Exception( 'Invalid table name: empty' );
@@ -151,6 +150,10 @@  discard block
 block discarded – undo
151 150
 	}
152 151
 
153 152
 	// TODO make sure the function is described as DOESN'T DO VALIDATION
153
+
154
+	/**
155
+	 * @param boolean $granular_result
156
+	 */
154 157
 	private function build_checksum_query( $range_from, $range_to, $filter_values, $granular_result ) {
155 158
 		global $wpdb;
156 159
 
Please login to merge, or discard this patch.