for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Loevgaard\DandomainAltapayBundle\Entity;
use Doctrine\ORM\Mapping AS ORM;
use Loevgaard\Dandomain\Pay\PaymentRequest\OrderLine as DandomainOrderLine;
/**
* @ORM\MappedSuperclass
*/
abstract class OrderLine implements OrderLineInterface
{
* @var string
protected $productNumber;
protected $name;
* @var int
protected $quantity;
* The price excl vat
*
* @var float
protected $price;
protected $vat;
* @param DandomainOrderLine $orderLine
public function populateFromDandomainPaymentRequest(DandomainOrderLine $orderLine)
$orderLine
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
}
* @return string
public function getProductNumber() : string
return $this->productNumber;
* @param string $productNumber
* @return OrderLineInterface
public function setProductNumber(string $productNumber) : OrderLineInterface
$this->productNumber = $productNumber;
return $this;
public function getName() : string
return $this->name;
* @param string $name
public function setName($name) : OrderLineInterface
$this->name = $name;
* @return int
public function getQuantity() : int
return $this->quantity;
* @param int $quantity
public function setQuantity($quantity) : OrderLineInterface
$this->quantity = $quantity;
* @return float
public function getPrice() : float
return $this->price;
* @param float $price
public function setPrice($price) : OrderLineInterface
$this->price = $price;
public function getVat() : int
return $this->vat;
* @param int $vat
public function setVat($vat) : OrderLineInterface
$this->vat = $vat;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.