Skip to content

Commit ae815f0

Browse files
committed
fix: fix typo #82
1 parent 059d042 commit ae815f0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Versionable.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,15 @@ public function getVersion(int $id): ?Version
152152
return $this->versions()->find($id);
153153
}
154154

155+
/**
156+
* @deprecated use `getTrashedVersions` instead
157+
*/
155158
public function getThrashedVersions()
159+
{
160+
return $this->getTrashedVersions();
161+
}
162+
163+
public function getTrashedVersions()
156164
{
157165
return $this->versions()->onlyTrashed()->get();
158166
}

0 commit comments

Comments
 (0)