Completed
Push — improving-sync-with-enej ( e281a4...57ba56 )
by
unknown
09:35
created
sync/class.jetpack-sync-module-posts.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -158,6 +158,9 @@  discard block
 block discarded – undo
158 158
 		$this->add_sync_item( $post_id, $sync_item );
159 159
 	}
160 160
 
161
+	/**
162
+	 * @param Jetpack_Sync_Item $sync_item
163
+	 */
161 164
 	public function add_sync_item( $post_id, $sync_item ) {
162 165
 		if ( $this->has_sync_item( 'new' ) && ! $this->has_sync_item( $post_id ) ) {
163 166
 			$this->sync_items[ $post_id ] = $this->sync_items['new'];
@@ -552,6 +555,9 @@  discard block
 block discarded – undo
552 555
 		return isset( $importers[ $importer ] ) ? $importers[ $importer ][0] : 'Unknown Importer';
553 556
 	}
554 557
 
558
+	/**
559
+	 * @param string $class_name
560
+	 */
555 561
 	private function is_importer( $backtrace, $class_name ) {
556 562
 		foreach ( $backtrace as $trace ) {
557 563
 			if ( strpos( $trace, $class_name ) !== false ) {
Please login to merge, or discard this patch.