diff --git a/lib/Trello/Api/Card/Labels.php b/lib/Trello/Api/Card/Labels.php index a8cfbfd..3d4c7ea 100644 --- a/lib/Trello/Api/Card/Labels.php +++ b/lib/Trello/Api/Card/Labels.php @@ -29,7 +29,7 @@ class Labels extends AbstractApi public function set($id, array $labels) { foreach ($labels as $label) { - if (!in_array($label, array('all', 'green', 'yellow', 'orange', 'red', 'purple', 'blue'))) { + if (!in_array($label, array('all', 'green', 'yellow', 'orange', 'red', 'purple', 'blue', 'sky', 'lime', 'pink', 'black'))) { throw new InvalidArgumentException(sprintf('Label "%s" does not exist.', $label)); } } @@ -52,7 +52,7 @@ public function set($id, array $labels) */ public function remove($id, $label) { - if (!in_array($label, array('green', 'yellow', 'orange', 'red', 'purple', 'blue'))) { + if (!in_array($label, array('green', 'yellow', 'orange', 'red', 'purple', 'blue', 'sky', 'lime', 'pink', 'black'))) { throw new InvalidArgumentException(sprintf('Label "%s" does not exist.', $label)); }