Completed
Pull Request — master (#223)
by
unknown
01:56
created
classes/autoptimizeImages.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * Determines and returns the service launch status.
130 130
      *
131
-     * @return bool
131
+     * @return null|boolean
132 132
      */
133 133
     public function launch_ok()
134 134
     {
@@ -400,6 +400,9 @@  discard block
 block discarded – undo
400 400
         }
401 401
     }
402 402
 
403
+    /**
404
+     * @return string
405
+     */
403 406
     private function get_imgopt_base_url()
404 407
     {
405 408
         static $imgopt_base_url = null;
Please login to merge, or discard this patch.
classes/external/php/plugin-update-checker/Puc/v4p4/DebugBar/Extension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 		protected $updateChecker;
9 9
 		protected $panelClass = 'Puc_v4p4_DebugBar_Panel';
10 10
 
11
+		/**
12
+		 * @param string $panelClass
13
+		 */
11 14
 		public function __construct($updateChecker, $panelClass = null) {
12 15
 			$this->updateChecker = $updateChecker;
13 16
 			if ( isset($panelClass) ) {
Please login to merge, or discard this patch.
classes/external/php/plugin-update-checker/Puc/v4p4/Plugin/Info.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 		/**
85 85
 		 * Transform plugin info into the format used by the native WordPress.org API
86 86
 		 *
87
-		 * @return object
87
+		 * @return stdClass
88 88
 		 */
89 89
 		public function toWpFormat(){
90 90
 			$info = new stdClass;
Please login to merge, or discard this patch.
external/php/plugin-update-checker/Puc/v4p4/Plugin/UpdateChecker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -628,7 +628,7 @@
 block discarded – undo
628 628
 		/**
629 629
 		 * Check if the plugin file is inside the mu-plugins directory.
630 630
 		 *
631
-		 * @return bool
631
+		 * @return boolean|null
632 632
 		 */
633 633
 		protected function isMuPlugin() {
634 634
 			static $cachedResult = null;
Please login to merge, or discard this patch.
classes/external/php/plugin-update-checker/Puc/v4p4/UpgraderStatus.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 		 *
51 51
 		 * @param string $type
52 52
 		 * @param string $id
53
-		 * @param Plugin_Upgrader|WP_Upgrader|null $upgrader
53
+		 * @param WP_Upgrader|null $upgrader
54 54
 		 * @return bool
55 55
 		 */
56 56
 		protected function isBeingUpgraded($type, $id, $upgrader = null) {
Please login to merge, or discard this patch.
classes/external/php/plugin-update-checker/vendor/readme-parser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -204,6 +204,9 @@  discard block
 block discarded – undo
204 204
 		return $r;
205 205
 	}
206 206
 
207
+	/**
208
+	 * @param string $string
209
+	 */
207 210
 	function chop_string( $string, $chop ) { // chop a "prefix" from a string: Agressive! uses strstr not 0 === strpos
208 211
 		if ( $_string = strstr($string, $chop) ) {
209 212
 			$_string = substr($_string, strlen($chop));
@@ -213,6 +216,9 @@  discard block
 block discarded – undo
213 216
 		}
214 217
 	}
215 218
 
219
+	/**
220
+	 * @return string
221
+	 */
216 222
 	function user_sanitize( $text, $strict = false ) { // whitelisted chars
217 223
 		if ( function_exists('user_sanitize') ) // bbPress native
218 224
 			return user_sanitize( $text, $strict );
Please login to merge, or discard this patch.