Skip to content

Commit 39a9db8

Browse files
committed
remove redundant parentGroup
there was already a parent BelongsTo...
1 parent e4a35df commit 39a9db8

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

app/Modules/Group/Models/Group.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,6 @@ protected static function newFactory()
280280
return new GroupFactory();
281281
}
282282

283-
public function parentGroup(): BelongsTo
284-
{
285-
return $this->belongsTo(Group::class, 'parent_id', 'id');
286-
}
287-
288283
public function representationForDataExchange(): array {
289284
$item = [
290285
'id' => $this->uuid,

0 commit comments

Comments
 (0)