diff --git a/reference/yar/examples.xml b/reference/yar/examples.xml index 10b547d868..242267ab69 100644 --- a/reference/yar/examples.xml +++ b/reference/yar/examples.xml @@ -13,37 +13,37 @@ class Operator { - /** - * Add two operands - * @param interge - * @return interge - */ - public function add($a, $b) { - return $this->_add($a, $b); - } + /** + * Add two operands + * @param interge + * @return interge + */ + public function add($a, $b) { + return $this->_add($a, $b); + } - /** - * Sub - */ - public function sub($a, $b) { - return $a - $b; - } + /** + * Sub + */ + public function sub($a, $b) { + return $a - $b; + } - /** - * Mul - */ - public function mul($a, $b) { - return $a * $b; - } + /** + * Mul + */ + public function mul($a, $b) { + return $a * $b; + } - /** - * Protected methods will not be exposed - * @param interge - * @return interge - */ - protected function _add($a, $b) { - return $a + $b; - } + /** + * Protected methods will not be exposed + * @param interge + * @return interge + */ + protected function _add($a, $b) { + return $a + $b; + } } $server = new Yar_Server(new Operator());