We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0e3e28 commit 00fd687Copy full SHA for 00fd687
2 files changed
src/Models/Component.php
@@ -83,7 +83,7 @@ public function group(): BelongsTo
83
/**
84
* Get the incidents for the component.
85
*
86
- * @return BelongsToMany<Incident, $this>
+ * @return BelongsToMany<Incident, $this, IncidentComponent>
87
*/
88
public function incidents(): BelongsToMany
89
{
src/Models/Incident.php
@@ -109,8 +109,8 @@ protected static function boot()
109
110
* Get the components impacted by this incident.
111
112
- * @return BelongsToMany<Component, $this>
113
- */
+ * @return BelongsToMany<Component, $this, IncidentComponent>
+ */
114
public function components(): BelongsToMany
115
116
return $this->belongsToMany(Component::class, 'incident_components')
0 commit comments