Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Commit

Permalink
Rename HtmlDocument to Document
Browse files Browse the repository at this point in the history
  • Loading branch information
dsevillamartin committed Nov 22, 2018
1 parent e18211c commit 495a6aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}),
Expand Down

0 comments on commit 495a6aa

Please sign in to comment.