GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch dev (826b9a)
by Liuta
01:55
created
restore/xcloner_restore.php 1 patch
Doc Comments   +9 added lines, -5 removed lines patch added patch discarded remove patch
@@ -656,7 +656,7 @@  discard block
 block discarded – undo
656 656
 	 * Update Wordpress url in wp-config.php method
657 657
 	 * @param $wp_path
658 658
 	 * @param $url
659
-	 * @param $mysqli
659
+	 * @param mysqli $mysqli
660 660
 	 * @return bool
661 661
 	 * @throws Exception
662 662
 	 */
@@ -786,7 +786,7 @@  discard block
 block discarded – undo
786 786
 	 * Get backup hash method
787 787
 	 *
788 788
 	 * @param $backup_file
789
-	 * @return bool
789
+	 * @return false|string
790 790
 	 */
791 791
 	private function get_hash_from_backup($backup_file)
792 792
 	{
@@ -1009,7 +1009,7 @@  discard block
 block discarded – undo
1009 1009
 	/**
1010 1010
 	 * Return bytes from human readable value
1011 1011
 	 *
1012
-	 * @param $val
1012
+	 * @param string $val
1013 1013
 	 * @return int
1014 1014
 	 *
1015 1015
 	 */
@@ -1093,7 +1093,7 @@  discard block
 block discarded – undo
1093 1093
 	 * Sort_by method
1094 1094
 	 *
1095 1095
 	 * @param $array
1096
-	 * @param $field
1096
+	 * @param string $field
1097 1097
 	 * @param string $direction
1098 1098
 	 * @return bool
1099 1099
 	 */
@@ -1102,6 +1102,10 @@  discard block
 block discarded – undo
1102 1102
 		$direction = strtolower($direction);
1103 1103
 
1104 1104
 		usort($array,
1105
+
1106
+			/**
1107
+			 * @param string $b
1108
+			 */
1105 1109
 			function($a, $b) use($field, $direction){
1106 1110
 
1107 1111
 				$a = $a[$field];
@@ -1167,7 +1171,7 @@  discard block
 block discarded – undo
1167 1171
 	 * Serialize fix methods below for mysql query lines
1168 1172
 	 *
1169 1173
 	 * @param $query
1170
-	 * @return string|string[]|null
1174
+	 * @return string
1171 1175
 	 */
1172 1176
 	 
1173 1177
 	function do_serialized_fix($query)
Please login to merge, or discard this patch.