Completed
Push — update/premium-block-flow-trac... ( 44c852...b77f97 )
by Jon
09:23 queued 02:33
created
packages/connection/tests/php/test_Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 	 * Mock a global function and make it return a certain value.
116 116
 	 *
117 117
 	 * @param string $function_name Name of the function.
118
-	 * @param mixed  $return_value  Return value of the function.
118
+	 * @param integer  $return_value  Return value of the function.
119 119
 	 * @return phpmock\Mock The mock object.
120 120
 	 */
121 121
 	protected function mock_function( $function_name, $return_value = null ) {
Please login to merge, or discard this patch.
packages/sync/src/modules/Full_Sync.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -194,6 +194,9 @@  discard block
 block discarded – undo
194 194
 		do_action( 'jetpack_full_sync_end', '', $range );
195 195
 	}
196 196
 
197
+	/**
198
+	 * @param string $type
199
+	 */
197 200
 	function get_range( $type ) {
198 201
 		global $wpdb;
199 202
 		if ( ! in_array( $type, array( 'comments', 'posts' ) ) ) {
@@ -404,6 +407,9 @@  discard block
 block discarded – undo
404 407
 		$listener->get_full_sync_queue()->reset();
405 408
 	}
406 409
 
410
+	/**
411
+	 * @param integer $default
412
+	 */
407 413
 	private function get_status_option( $name, $default = null ) {
408 414
 		$value = \Jetpack_Options::get_raw_option( self::STATUS_OPTION_PREFIX . "_$name", $default );
409 415
 
Please login to merge, or discard this patch.
packages/sync/src/Replicastore.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -447,6 +447,10 @@  discard block
 block discarded – undo
447 447
 	}
448 448
 
449 449
 	// functions
450
+
451
+	/**
452
+	 * @param string $name
453
+	 */
450 454
 	public function get_callable( $name ) {
451 455
 		$value = get_option( 'jetpack_' . $name );
452 456
 
@@ -738,6 +742,9 @@  discard block
 block discarded – undo
738 742
 		return $histogram;
739 743
 	}
740 744
 
745
+	/**
746
+	 * @param string|null $id_column
747
+	 */
741 748
 	private function table_checksum( $table, $columns, $id_column, $where_sql = '1=1', $min_id = null, $max_id = null, $strip_non_ascii = true, $salt = '' ) {
742 749
 		global $wpdb;
743 750
 
@@ -791,6 +798,9 @@  discard block
 block discarded – undo
791 798
 		return 'sum';
792 799
 	}
793 800
 
801
+	/**
802
+	 * @param string $where_sql
803
+	 */
794 804
 	private function meta_count( $table, $where_sql, $min_id, $max_id ) {
795 805
 		global $wpdb;
796 806
 
Please login to merge, or discard this patch.
packages/autoloader/src/AutoloadGenerator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 	 * @param string     $vendorPath Path to the vendor directory.
161 161
 	 * @param string     $basePath Base Path.
162 162
 	 *
163
-	 * @return array $classMap
163
+	 * @return string $classMap
164 164
 	 */
165 165
 	private function getClassMap( array $autoloads, Filesystem $filesystem, $vendorPath, $basePath ) {
166 166
 		$blacklist = null;
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 	/**
225 225
 	 * Generate the PHP that will be used in the autoload_classmap_package.php files.
226 226
 	 *
227
-	 * @param srting $classMap class map array string that is to be written out to the file.
227
+	 * @param string $classMap class map array string that is to be written out to the file.
228 228
 	 *
229 229
 	 * @return string
230 230
 	 */
Please login to merge, or discard this patch.
packages/analyzer/src/Invocations/Function_Call.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 	public $line;
15 15
 	public $func_name;
16 16
 
17
+	/**
18
+	 * @param string $func_name
19
+	 */
17 20
 	public function __construct( $path, $line, $func_name ) {
18 21
 		$this->path = $path;
19 22
 		$this->line = $line;
Please login to merge, or discard this patch.
packages/analyzer/src/Declarations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
 		}
34 34
 	}
35 35
 
36
+	/**
37
+	 * @param string $root
38
+	 */
36 39
 	public function scan_dir( $root, $exclude = array() ) {
37 40
 
38 41
 		if ( is_null( $exclude ) || ! is_array( $exclude ) ) {
Please login to merge, or discard this patch.
packages/analyzer/src/Invocations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
 		}
38 38
 	}
39 39
 
40
+	/**
41
+	 * @param string $root
42
+	 */
40 43
 	public function scan_dir( $root, $exclude = array() ) {
41 44
 		$filter = function ( $file, $key, $iterator ) use ( $exclude ) {
42 45
 			if ( $iterator->hasChildren() && ! in_array( $file->getFilename(), $exclude ) ) {
Please login to merge, or discard this patch.
packages/analyzer/src/Invocations/Visitor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 	private $invocations;
10 10
 	private $file_path;
11 11
 
12
+	/**
13
+	 * @param  $invocations
14
+	 */
12 15
 	public function __construct( $file_path, $invocations ) {
13 16
 		$this->file_path   = $file_path;
14 17
 		$this->invocations = $invocations;
Please login to merge, or discard this patch.
packages/analyzer/src/PersistentList.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@
 block discarded – undo
31 31
 
32 32
 	/**
33 33
 	 * Saves the items to a file and returns the file contents
34
+	 * @param string $file_path
34 35
 	 */
35 36
 	public function save( $file_path, $allow_empty = true ) {
36 37
 
Please login to merge, or discard this patch.