diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-01-14 23:07:34 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-01-14 23:07:34 +0100 |
commit | 0d154365a23678c138cadad31f746aa27ac3f96a (patch) | |
tree | 059a22951a20bd85e2acfbda68fee8899bed0fe0 /includes/model/Shifts_model.php | |
parent | 646ffc19107999a1cdcd1c897fbb6d28d520bb13 (diff) |
models: return null on empty result
Diffstat (limited to 'includes/model/Shifts_model.php')
-rw-r--r-- | includes/model/Shifts_model.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php index 5719a8e1..94513ff3 100644 --- a/includes/model/Shifts_model.php +++ b/includes/model/Shifts_model.php @@ -552,7 +552,7 @@ function Shift_update($shift) * Update a shift by its external id. * * @param array $shift - * @return bool|null + * @return int * @throws Exception */ function Shift_update_by_psid($shift) |