From 7c4a4c91d2fd169f0b6792f90ec6dab71151713f 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/AccountMapper.php | 2 +- Models/GroupMapper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/AccountMapper.php b/Models/AccountMapper.php index 2590791..63855ed 100644 --- a/Models/AccountMapper.php +++ b/Models/AccountMapper.php @@ -192,6 +192,6 @@ class AccountMapper 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/GroupMapper.php b/Models/GroupMapper.php index 61e73b7..a0b716b 100644 --- a/Models/GroupMapper.php +++ b/Models/GroupMapper.php @@ -74,6 +74,6 @@ class GroupMapper 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); } }