From 095f25e18158ff2ae1da3b51ac1c81a9b0f53b01 Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Sat, 29 Mar 2014 21:53:18 +0000 Subject: [PATCH] WS git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333169 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/yar/examples.xml | 56 +++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 28 deletions(-) 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());