diff --git a/README.md b/README.md index 41a6dc5..f921a9e 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,8 @@ return [ class ProductModel extends ActiveRecord implements CartItemInterface { - public function getPrice() +//requires php >= 7, declare version in composer.json + public function getPrice() : int { return $this->price; }