mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-02-03 14:58:40 +00:00
cs and phpstan fixes
This commit is contained in:
parent
3b7f61ffd9
commit
78a97364cc
|
|
@ -43,10 +43,10 @@ class BatchPosting implements \Countable
|
|||
/**
|
||||
* Created.
|
||||
*
|
||||
* @var \DateTime
|
||||
* @var \DateTimeImmutable
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private \DateTime $created;
|
||||
private \DateTimeImmutable $created;
|
||||
|
||||
/**
|
||||
* Description.
|
||||
|
|
@ -71,7 +71,7 @@ class BatchPosting implements \Countable
|
|||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->created = new \DateTime('now');
|
||||
$this->created = new \DateTimeImmutable('now');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ final class L11nCostCenterMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Has one relation.
|
||||
*
|
||||
* @var array<string, array{mapper:string, self:string, by?:string, column?:string}>
|
||||
* @var array<string, array{mapper:string, external:string, by?:string, column?:string, conditional?:bool}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $ownsOne = [
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ final class L11nCostObjectMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Has one relation.
|
||||
*
|
||||
* @var array<string, array{mapper:string, self:string, by?:string, column?:string}>
|
||||
* @var array<string, array{mapper:string, external:string, by?:string, column?:string, conditional?:bool}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $ownsOne = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user