diff --git a/core/tests/Drupal/Tests/Core/Utility/ColorTest.php b/core/tests/Drupal/Tests/Core/Utility/ColorTest.php index d86fc3a..b2ef138 100644 --- a/core/tests/Drupal/Tests/Core/Utility/ColorTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/ColorTest.php @@ -2,7 +2,7 @@ /** * @file - * Contains Drupal\Tests\Core\Utility\ColorTest. + * Contains \Drupal\Tests\Core\Utility\ColorTest. */ namespace Drupal\Tests\Core\Utility; @@ -26,6 +26,13 @@ public static function getInfo() { /** * Tests Color::hexToRgb(). * + * @param string $value + * The hex color value. + * @param string $expected + * The expected rgb color value. + * @param bool $invalid + * Whether this value is invalid and exception should be expected. + * * @dataProvider providerTestHexToRgb */ public function testHexToRgb($value, $expected, $invalid = FALSE) { @@ -41,7 +48,7 @@ public function testHexToRgb($value, $expected, $invalid = FALSE) { * @see testHexToRgb() * * @return array - * An array containing: + * An array of arrays containing: * - The hex color value. * - The rgb color array value. * - (optional) Boolean indicating invalid status. Defaults to FALSE. @@ -82,6 +89,11 @@ public function providerTestHexToRgb() { /** * Tests Color::rgbToHex(). * + * @param string $value + * The rgb color value. + * @param string $expected + * The expected hex color value. + * * @dataProvider providerTestRbgToHex */ public function testRgbToHex($value, $expected) { @@ -94,7 +106,7 @@ public function testRgbToHex($value, $expected) { * @see testRgbToHex() * * @return array - * An array containing: + * An array of arrays containing: * - The rgb color array value. * - The hex color value. */