From 38e14e350242f5bafbe9c3c6733a14fc9f97b452 Mon Sep 17 00:00:00 2001 From: "Paul M. Jones" Date: Mon, 16 Mar 2015 09:30:09 -0500 Subject: [PATCH] update docblock --- src/Context/AbstractValues.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Context/AbstractValues.php b/src/Context/AbstractValues.php index 9f56aff..aa4de21 100644 --- a/src/Context/AbstractValues.php +++ b/src/Context/AbstractValues.php @@ -40,7 +40,8 @@ public function __construct(array $values = array()) /** * - * Returns a value. + * Returns a value by key, an alternative value if that key does not exist, + * or all values if no key is passed. * * @param string $key The key, if any, to get the value of; if null, will * return all values. @@ -49,7 +50,7 @@ public function __construct(array $values = array()) * requested key does not exist. * * @return mixed The requested value, or the alternative default - * value. + * value; or, if no key was passed, all values. * */ public function get($key = null, $alt = null)