src/Order/OrderEntity.php
OrderEntity
has 89 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class OrderEntity
{
private $customerName;
private $customerEmail;
private $customerPhone;
File OrderEntity.php
has 450 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace ThreePlCentral\Order;
class OrderEntity
Method toArray
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function toArray()
{
return [
'customerName' => $this->customerName,
'customerEmail' => $this->customerEmail,