diff --git a/language/functions.xml b/language/functions.xml index a79b001ed3..a1f80becd8 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -556,7 +556,7 @@ class Foo } } -echo Foo::$variable; // This prints 'static propery'. It does need a $variable in this scope. +echo Foo::$variable; // This prints 'static property'. It does need a $variable in this scope. $variable = "Variable"; Foo::$variable(); // This calls $foo->Variable() reading $variable in this scope. @@ -700,7 +700,7 @@ class Cart const PRICE_MILK = 3.00; const PRICE_EGGS = 6.95; - protected $products = array(); + protected $products = array(); public function add($product, $quantity) {