From c4f2eb1aad67b6da5c8ba412ea3832bb6d502ee8 Mon Sep 17 00:00:00 2001 From: Nathan Rennie-Waldock Date: Tue, 10 Apr 2018 04:18:18 +0100 Subject: [PATCH] Cast status and component_id to int --- app/Models/Incident.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/Incident.php b/app/Models/Incident.php index d426aa41..c9be0e91 100644 --- a/app/Models/Incident.php +++ b/app/Models/Incident.php @@ -74,6 +74,8 @@ class Incident extends Model implements HasPresenter * @var string[] */ protected $casts = [ + 'component_id'=> 'int', + 'status' => 'int', 'user_id' => 'int', 'visible' => 'int', 'stickied' => 'bool',