Skip to content

Commit 7b7fc60

Browse files
authored
Update RevisionRepository.php to return object of RevisionContract type (#270)
1 parent bbe3444 commit 7b7fc60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Revisions/RevisionRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class RevisionRepository extends StacheRepository
1010
{
1111
public function make(): RevisionContract
1212
{
13-
return app('statamic.eloquent.revisions.model');
13+
return new (app('statamic.eloquent.revisions.model'));
1414
}
1515

1616
public function whereKey($key)

0 commit comments

Comments
 (0)