mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-26 07:53:56 +00:00
invoice-backend
This commit is contained in:
@@ -11,7 +11,7 @@ namespace App\Classes\Modules\FreightForwarder\DataTransferObjects;
|
||||
|
||||
class ServiceObject
|
||||
{
|
||||
/** @var String|null */
|
||||
/** @var int|null */
|
||||
private $type;
|
||||
|
||||
/** @var int|null */
|
||||
@@ -28,13 +28,13 @@ class ServiceObject
|
||||
|
||||
/**
|
||||
* ServiceObject constructor.
|
||||
* @param null|String $type
|
||||
* @param null|int $type
|
||||
* @param int|null $forwarderId
|
||||
* @param null|String $name
|
||||
* @param null|String $description
|
||||
* @param float|null $cost
|
||||
*/
|
||||
public function __construct(?string $type = null, ?int $forwarderId = null, ?string $name = null, ?string $description = null, ?float $cost = null)
|
||||
public function __construct(?int $type = null, ?int $forwarderId = null, ?string $name = null, ?string $description = null, ?float $cost = null)
|
||||
{
|
||||
$this->type = $type;
|
||||
$this->forwarderId = $forwarderId;
|
||||
@@ -44,9 +44,9 @@ class ServiceObject
|
||||
}
|
||||
|
||||
/**
|
||||
* @return null|String
|
||||
* @return null|int
|
||||
*/
|
||||
public function getType(): ?string
|
||||
public function getType(): ?int
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
@@ -83,4 +83,7 @@ class ServiceObject
|
||||
return $this->cost;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user