1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-19 23:09:47 +01:00

Forgot examples on the methods

This commit is contained in:
lsv 2013-06-17 00:23:01 +02:00
parent ecd58f0217
commit 6f7f40693c

View File

@ -150,7 +150,7 @@ class Miscellaneous extends \Faker\Provider\Base
}
/**
* @example '
* @example '#fa3cc2'
*/
public static function hexColor()
{
@ -165,6 +165,9 @@ class Miscellaneous extends \Faker\Provider\Base
);
}
/**
* @example 'array(0,255,122)'
*/
public static function rgbColorAsArray()
{
$rgb = array();
@ -175,6 +178,9 @@ class Miscellaneous extends \Faker\Provider\Base
return $rgb;
}
/**
* @example '0,255,122'
*/
public static function rgbColor()
{
return implode(',', static::rgbColorAsArray());