Completed
Pull Request — develop (#1514)
by Naveen
52s
created
dataset/background/stages/class-sync-background-process-users-stage.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 	 *
18 18
 	 * @param Sync_Object_Adapter_Factory $sync_object_adapter_factory
19 19
 	 */
20
-	function __construct( $sync_object_adapter_factory ) {
20
+	function __construct($sync_object_adapter_factory) {
21 21
 		$this->sync_object_adapter_factory = $sync_object_adapter_factory;
22 22
 	}
23 23
 
@@ -31,10 +31,10 @@  discard block
 block discarded – undo
31 31
 			";
32 32
 
33 33
 
34
-		return $wpdb->get_var( $sql );
34
+		return $wpdb->get_var($sql);
35 35
 	}
36 36
 
37
-	function get_sync_object_adapters( $offset, $limit ) {
37
+	function get_sync_object_adapters($offset, $limit) {
38 38
 
39 39
 		global $wpdb;
40 40
 		$sql = "
@@ -43,9 +43,9 @@  discard block
 block discarded – undo
43 43
 			LIMIT %d, %d
44 44
 			";
45 45
 
46
-		$ids = $wpdb->get_col( $wpdb->prepare( $sql, $offset, $limit ) );
46
+		$ids = $wpdb->get_col($wpdb->prepare($sql, $offset, $limit));
47 47
 
48
-		return $this->sync_object_adapter_factory->create_many( Object_Type_Enum::USER, $ids );
48
+		return $this->sync_object_adapter_factory->create_many(Object_Type_Enum::USER, $ids);
49 49
 	}
50 50
 
51 51
 }
Please login to merge, or discard this patch.