Update PHPDoc and comments

This commit is contained in:
Meritoo
2018-04-02 22:46:02 +02:00
parent 8d1df9ced8
commit ddbff1b557
7 changed files with 58 additions and 1 deletions

View File

@@ -9,6 +9,8 @@
namespace Meritoo\Common\Utilities;
use Gedmo\Sluggable\Util\Urlizer;
use Meritoo\Common\Exception\Regex\IncorrectColorHexLengthException;
use Meritoo\Common\Exception\Regex\InvalidColorHexValueException;
use Symfony\Component\HttpFoundation\Cookie;
use Transliterator;
@@ -1433,6 +1435,9 @@ class Miscellaneous
*
* @param string $color Hexadecimal value of color to invert (with or without hash), e.g. "dd244c" or "#22a5fe"
* @return string
*
* @throws IncorrectColorHexLengthException
* @throws InvalidColorHexValueException
*/
public static function getInvertedColor($color)
{