X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FOptionBag.php;h=10000dbb6705688b1e500128e8164e54cafee874;hb=187d67c410e47f2313049e731b73d23b53457a07;hp=91c96a3a710f8aa7f15194d66e2b3862a8cca16f;hpb=01fcf9d6be949c51b4a3eb1b2c1511ddb8c88f79;p=civicrm-core.git diff --git a/CRM/Utils/OptionBag.php b/CRM/Utils/OptionBag.php index 91c96a3a71..10000dbb67 100644 --- a/CRM/Utils/OptionBag.php +++ b/CRM/Utils/OptionBag.php @@ -1,34 +1,18 @@ data = $data; } @@ -72,7 +56,7 @@ class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable { return $r; } else { - throw new \API_Exception(ts("Could not find valid value for %1 (%2)", array(1 => $key, 2 => $type))); + throw new \API_Exception(ts("Could not find valid value for %1 (%2)", [1 => $key, 2 => $type])); } }