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]