for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Korobovn\CloudPayments\Message\Traits\ModelField;
trait AmountFloatNull
{
/** @var float|null */
protected $amount;
/**
* @return float|null
*/
public function getAmount(): ?float
return $this->amount;
}
* @param float|null $amount
*
* @return $this
public function setAmount(?float $amount): self
$this->amount = $amount;
return $this;