diff --git a/app/Libraries/Wiki/Renderer.php b/app/Libraries/Wiki/Renderer.php index 2c8b031c58c..0e94181bc33 100644 --- a/app/Libraries/Wiki/Renderer.php +++ b/app/Libraries/Wiki/Renderer.php @@ -7,20 +7,10 @@ use App\Models\Wiki\Page; -/** - * @property Page $page - * @property string $body - */ abstract class Renderer { - /** - * @param Page $page - * @param string $body - */ - public function __construct($page, $body) + public function __construct(protected Page $page, protected string $body) { - $this->page = $page; - $this->body = $body; } /**