File tree Expand file tree Collapse file tree
library/Notifications/Model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 *
2525 * @property int $id
2626 * @property ?int $incident_id
27- * @property int $rule_id
28- * @property int $rule_escalation_id
27+ * @property ? int $rule_id
28+ * @property ? int $rule_escalation_id
2929 * @property int $contact_id
3030 * @property ?int $contactgroup_id
3131 * @property int $channel_id
@@ -104,8 +104,8 @@ public function getDefaultSort(): array
104104
105105 public function createRelations (Relations $ relations ): void
106106 {
107- $ relations ->belongsTo ('rule ' , Rule::class);
108- $ relations ->belongsTo ('rule_escalation ' , RuleEscalation::class);
107+ $ relations ->belongsTo ('rule ' , Rule::class)-> setJoinType ( ' LEFT ' ) ;
108+ $ relations ->belongsTo ('rule_escalation ' , RuleEscalation::class)-> setJoinType ( ' LEFT ' ) ;
109109 $ relations ->belongsTo ('contact ' , Contact::class);
110110
111111 $ relations ->belongsTo ('incident ' , Incident::class)->setJoinType ('LEFT ' );
You can’t perform that action at this time.
0 commit comments