From 9e7a9a3d02372f149651aca882d92f1a2ff9289e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 9 Jul 2017 10:42:02 +0200 Subject: [PATCH] (Draft) Create risk management models Also fix some belongsTo in other mappers. --- Models/AddressMapper.php | 2 +- Models/ContactElementMapper.php | 2 +- Models/ProfileMapper.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Models/AddressMapper.php b/Models/AddressMapper.php index 790d3cd..7f9142e 100644 --- a/Models/AddressMapper.php +++ b/Models/AddressMapper.php @@ -119,6 +119,6 @@ class AddressMapper extends DataMapperAbstract */ public static function get($primaryKey, int $relations = RelationType::ALL, $fill = null) { - return parent::get((int) $primaryKey, $relations, $fill); + return parent::get($primaryKey, $relations, $fill); } } diff --git a/Models/ContactElementMapper.php b/Models/ContactElementMapper.php index 3d19411..84882f5 100644 --- a/Models/ContactElementMapper.php +++ b/Models/ContactElementMapper.php @@ -111,6 +111,6 @@ class ContactElementMapper extends DataMapperAbstract */ public static function get($primaryKey, int $relations = RelationType::ALL, $fill = null) { - return parent::get((int) $primaryKey, $relations, $fill); + return parent::get($primaryKey, $relations, $fill); } } diff --git a/Models/ProfileMapper.php b/Models/ProfileMapper.php index 03e8c9e..bb0c86b 100644 --- a/Models/ProfileMapper.php +++ b/Models/ProfileMapper.php @@ -149,6 +149,6 @@ class ProfileMapper extends DataMapperAbstract */ public static function get($primaryKey, int $relations = RelationType::ALL, $fill = null) { - return parent::get((int) $primaryKey, $relations, $fill); + return parent::get($primaryKey, $relations, $fill); } }