Skip to content

Commit 3ade5f7

Browse files
committed
fix: fix typo #82
1 parent 54e6068 commit 3ade5f7

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
@@ -123,7 +123,15 @@ public function getVersion(int $id): ?Version
123123
return $this->versions()->find($id);
124124
}
125125

126+
/**
127+
* @deprecated use `getTrashedVersions` instead
128+
*/
126129
public function getThrashedVersions()
130+
{
131+
return $this->getTrashedVersions();
132+
}
133+
134+
public function getTrashedVersions()
127135
{
128136
return $this->versions()->onlyTrashed()->get();
129137
}

0 commit comments

Comments
 (0)