Test Failed
Push — master ( 77aa30...312e44 )
by Jonathan
03:30
created
classes/salesforce_pull.php 1 patch
Doc Comments   +3 added lines, -11 removed lines patch added patch discarded remove patch
@@ -503,7 +503,7 @@  discard block
 block discarded – undo
503 503
 	* Executes a nextRecordsUrl SOQL query based on the previous result,
504 504
 	* and places each updated SF object into the queue for later processing.
505 505
 	*
506
-	* @param gmdate $last_sync
506
+	* @param string $last_sync
507 507
 	* @param array $salesforce_mapping
508 508
 	* @param array $map_sync_triggers
509 509
 	* @param string $type
@@ -569,8 +569,6 @@  discard block
 block discarded – undo
569 569
 	* @param string $type the Salesforce object type
570 570
 	* @param array $salesforce_mapping the map between object types
571 571
 	* @param array $query_options the options for the SOQL query
572
-	* @param bool $check are we just checking?
573
-	* @return object|bool $soql|$does_next_offset_have_results
574 572
 	*
575 573
 	*/
576 574
 	private function check_offset_query( $type, $salesforce_mapping, $query_options ) {
@@ -756,7 +754,7 @@  discard block
 block discarded – undo
756 754
 	* @param string $type
757 755
 	*   e.g. "Contact", "Account", etc.
758 756
 	*
759
-	* @return timestamp $pull_trigger_field_value
757
+	* @return string $pull_trigger_field_value
760 758
 	*
761 759
 	*/
762 760
 	private function get_pull_date_value( $type, $soql ) {
@@ -1090,7 +1088,7 @@  discard block
 block discarded – undo
1090 1088
 	*
1091 1089
 	* @param string $object_type
1092 1090
 	*   Type of Salesforce object.
1093
-	* @param array|string $object
1091
+	* @param string $object
1094 1092
 	*   The Salesforce data or its Id value.
1095 1093
 	* @param int $sf_sync_trigger
1096 1094
 	*   Trigger for this sync.
@@ -2169,12 +2167,6 @@  discard block
 block discarded – undo
2169 2167
 	*   Array of the salesforce object's data
2170 2168
 	* @param string $sf_sync_trigger
2171 2169
 	*   The current operation's trigger
2172
-	* @param array $mapping
2173
-	*   the fieldmap that maps the two object types
2174
-	* @param array $map_sync_triggers
2175
-	*
2176
-	* @return bool $pull_allowed
2177
-	*   Whether all this stuff allows the $result to be pulled into WordPress
2178 2170
 	*
2179 2171
 	*/
2180 2172
 	private function is_pull_allowed( $object_type, $object, $sf_sync_trigger, $salesforce_mapping, $map_sync_triggers ) {
Please login to merge, or discard this patch.