mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-10-25 06:37:36 +03:00
Maintenance: Continued work towards PHPstan level 2
Updated html description code to be behind a proper interface. Set new convention for mode traits/interfaces.
This commit is contained in:
@@ -14,10 +14,10 @@ use Illuminate\Support\Collection;
|
||||
* @property ?int $default_template_id
|
||||
* @property ?Page $defaultTemplate
|
||||
*/
|
||||
class Chapter extends BookChild
|
||||
class Chapter extends BookChild implements HtmlDescriptionInterface
|
||||
{
|
||||
use HasFactory;
|
||||
use HasHtmlDescription;
|
||||
use HtmlDescriptionTrait;
|
||||
|
||||
public float $searchFactor = 1.2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user