From 495a6aacd240c8262300263f553d9dc9e23622d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sevilla=20Marti=CC=81n?= Date: Thu, 22 Nov 2018 09:01:15 -0500 Subject: [PATCH] Rename HtmlDocument to Document --- extend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend.php b/extend.php index c781d64..a686943 100644 --- a/extend.php +++ b/extend.php @@ -12,14 +12,14 @@ namespace Reflar\TraditionalRankIcons; use Flarum\Extend; -use Flarum\Frontend\HtmlDocument; +use Flarum\Frontend\Document; return [ (new Extend\Frontend('forum')) ->js(__DIR__.'/js/dist/forum.js') ->css(__DIR__ . '/resources/less/forum.less') ->css(__DIR__ . '/resources/less/common.less') - ->content(function (HtmlDocument $document) { + ->content(function (Document $document) { $key = 'reflar-traditional-rank-icons.style'; $document->payload[$key] = app('flarum.settings')->get($key); }),