for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* Project: json-rpc-server
* User: sv
* Date: 03.07.2020
* Time: 15:32
*/
declare(strict_types=1);
namespace Onnov\JsonRpcServer\Result;
* Class RpcResultFloat
*
* @package Onnov\JsonRpcServer\Result
class RpcResultFloat extends RpcResultAbstract
{
* RpcResultString constructor.
* @param float $result
public function __construct(float $result)
$this->result = $result;
}
* @return float
public function getResult(): float
return $this->result;
return $this->result
null
double