mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-02-11 12:10:09 +01:00
21 lines
296 B
PHP
21 lines
296 B
PHP
|
<?php
|
||
|
|
||
|
namespace Datto\JsonRpc\Http\Examples;
|
||
|
|
||
|
class Math
|
||
|
{
|
||
|
/**
|
||
|
* Returns the value $a + $b.
|
||
|
*
|
||
|
* @param int $a
|
||
|
* @param int $b
|
||
|
*
|
||
|
* @return int
|
||
|
* Returns the value $a + $b.
|
||
|
*/
|
||
|
public static function add($a, $b)
|
||
|
{
|
||
|
return $a + $b;
|
||
|
}
|
||
|
}
|