|
@@ -122,8 +122,8 @@ |
|
|
block discarded – undo |
|
122
|
122
|
* |
|
123
|
123
|
* @param {int} $orig_width - The original width of the image. |
|
124
|
124
|
* @param {int} $orig_height - The original height of the image. |
|
125
|
|
- * @param {int} $new_width - The new width for the image or 0 to calculate it from the supplied new height and original dimensions. |
|
126
|
|
- * @param {int} $new_height - The new height for the image or 0 to calculate it from the supplied new width and original dimensions. |
|
|
125
|
+ * @param integer $new_width - The new width for the image or 0 to calculate it from the supplied new height and original dimensions. |
|
|
126
|
+ * @param integer $new_height - The new height for the image or 0 to calculate it from the supplied new width and original dimensions. |
|
127
|
127
|
* |
|
128
|
128
|
* @return array|false - Returns an array with the width value at index 0 and the height value at index 1. |
|
129
|
129
|
* Returns false if the original dimensions are invalid or if both the new width and height are invalid. |
Please login to merge, or discard this patch.