From 88b6247e635c24f9ca40649671b29b6eb4a4a8fd Mon Sep 17 00:00:00 2001 From: Christopher Vagnetoft Date: Thu, 11 Feb 2021 13:25:28 +0100 Subject: [PATCH] Added tests and fixed func name in PropertyBag --- src/Collection/PropertyBag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Collection/PropertyBag.php b/src/Collection/PropertyBag.php index e0fe978..19fab0c 100644 --- a/src/Collection/PropertyBag.php +++ b/src/Collection/PropertyBag.php @@ -88,7 +88,7 @@ class PropertyBag * @param mixed Default value * @return mixed */ - public function value(string $prop, $default=null) + public function valueOf(string $prop, $default=null) { return array_key_exists($prop, $this->props) ? $this->props[$prop]