Completed
Pull Request — master (#805)
by Jared
38:44 queued 18:11
created
lib/image/timber-image-operation-resize.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@  discard block
 block discarded – undo
75 75
 		return $image->writeImages($save_filename, true);
76 76
 	}
77 77
 
78
+	/**
79
+	 * @param string $load_filename
80
+	 */
78 81
 	protected function get_target_sizes( $load_filename ) {
79 82
 		$image = wp_get_image_editor( $load_filename );
80 83
 		$w = $this->w;
@@ -142,7 +145,7 @@  discard block
 block discarded – undo
142 145
 	 *                               (ex: /src/var/www/wp-content/uploads/my-pic.jpg)
143 146
 	 * @param  string $save_filename filepath (not URL) where result file should be saved
144 147
 	 *                               (ex: /src/var/www/wp-content/uploads/my-pic-300x200-c-default.jpg)
145
-	 * @return bool                  true if everything went fine, false otherwise
148
+	 * @return boolean|null                  true if everything went fine, false otherwise
146 149
 	 */
147 150
 	public function run($load_filename, $save_filename) {
148 151
 		//should be resized by gif resizer
Please login to merge, or discard this patch.