Completed
Pull Request — master (#6183)
by Jeff
85:30 queued 77:09
created
functions.photon.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,7 @@  discard block
 block discarded – undo
7 7
  *
8 8
  * @param string $image_url URL to the publicly accessible image you want to manipulate
9 9
  * @param array|string $args An array of arguments, i.e. array( 'w' => '300', 'resize' => array( 123, 456 ) ), or in string form (w=123&h=456)
10
+ * @param string $scheme
10 11
  * @return string The raw final URL. You should run this through esc_url() before displaying it.
11 12
  */
12 13
 function jetpack_photon_url( $image_url, $args = array(), $scheme = null ) {
@@ -268,7 +269,7 @@  discard block
 block discarded – undo
268 269
  *
269 270
  * @param string $url The URL to parse
270 271
  * @param integer $component Retrieve specific URL component
271
- * @return mixed Result of parse_url
272
+ * @return string|false Result of parse_url
272 273
  */
273 274
 function jetpack_photon_parse_url( $url, $component = -1 ) {
274 275
 	if ( 0 === strpos( $url, '//' ) ) {
Please login to merge, or discard this patch.