File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,7 @@ protected function timestamp(): Attribute
189189 protected function latestStatus (): Attribute
190190 {
191191 return Attribute::make (
192- get: function ($ value ) {
193- return $ this ->updates ()->latest ()->first ()->status ?? $ this ->status ;
194- }
192+ get: fn () => $ this ->updates ()->latest ()->first ()->status ?? $ this ->status
195193 );
196194 }
197195
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function component(): BelongsTo
4343 }
4444
4545 /**
46- * Get the incident the component is attached to.
46+ * Get the incident this component belongs to.
4747 */
4848 public function incident (): BelongsTo
4949 {
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class ScheduleComponent extends Pivot
3737 /**
3838 * Get the affected component.
3939 *
40- * @retun BelongsTo<Component, $this>
40+ * @return BelongsTo<Component, $this>
4141 */
4242 public function component (): BelongsTo
4343 {
You can’t perform that action at this time.
0 commit comments