Skip to content

Commit

Permalink
Tonesque: fix typo in function's comment. (#10126)
Browse files Browse the repository at this point in the history
Fixes #10124

#### Changes proposed in this Pull Request:

The color function accepts a type parameter that can be one of the following strings: hex, rgb, or hsv.


#### Testing instructions:

Not much to test here. You can check the `get_color` function downer in the same file, to see what types can be used.

<!-- Add the following only if this is meant to be in changelog -->
#### Proposed changelog entry for your changes:
Tonesque: fix typo in function's comment.
  • Loading branch information
jeherve authored Sep 11, 2018
1 parent d9108e1 commit 05ebb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _inc/lib/tonesque.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static function imagecreatefromurl( $image_url ) {
*
* Construct object from image.
*
* @param optional $type (hex, rgb, hsl)
* @param optional $type (hex, rgb, hsv)
* @return color as a string formatted as $type
*
*/
Expand Down

0 comments on commit 05ebb6c

Please sign in to comment.