mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-10-25 06:37:36 +03:00
Maintenance: Addressed a range of phpstan level 3 issues
This commit is contained in:
@@ -98,7 +98,7 @@ class PageRevisionController extends Controller
|
||||
throw new NotFoundException();
|
||||
}
|
||||
|
||||
$prev = $revision->getPrevious();
|
||||
$prev = $revision->getPreviousRevision();
|
||||
$prevContent = $prev->html ?? '';
|
||||
$diff = Diff::excecute($prevContent, $revision->html);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user