Skip to content

Commit

Permalink
PHPdoc type hinting for the previewEnabled config setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikkel committed Sep 1, 2021
1 parent d3144e8 commit 0f810cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/models/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ class Settings extends Model

public $cacheEnabled = true;
public $cacheDuration = 3600;

/** @var bool|string[]|null */
public $previewEnabled = true;

public $previewLabel = null;
public $siteName = null;
public $metaTemplate = '';
Expand Down

0 comments on commit 0f810cb

Please sign in to comment.