diff --git a/src/models/Settings.php b/src/models/Settings.php index bc70132..48c72e8 100644 --- a/src/models/Settings.php +++ b/src/models/Settings.php @@ -14,53 +14,49 @@ class Settings extends Model { /** @var string */ - public $pluginName = 'Scout'; + public string $pluginName = 'Scout'; /** @var bool */ - public $sync = true; + public bool $sync = true; /** @var bool */ - public $indexRelations = true; + public bool $indexRelations = true; - /** - * @var bool - * - * @deprecated 4.0.0 Disabling the `queue` option will no longer be supported in the next version of Scout - */ - public $queue = true; + /** @var bool */ + public bool $queue = true; /** @var int */ - public $ttr = 300; + public int $ttr = 300; /** @var int */ - public $priority = 1024; + public int $priority = 1024; /** @var string */ public $engine = AlgoliaEngine::class; /** @var ScoutIndex[] */ - public $indices = []; + public array $indices = []; /* @var string */ - public $application_id = ''; + public string $application_id = ''; /* @var string */ - public $admin_api_key = ''; + public string $admin_api_key = ''; /* @var string */ - public $search_api_key = ''; + public string $search_api_key = ''; /* @var int */ - public $connect_timeout = 1; + public int $connect_timeout = 1; /* @var int */ - public $batch_size = 1000; + public int $batch_size = 1000; /** @var bool */ - public $useOriginalRecordIfSplitValueIsArrayOfOne = true; + public bool $useOriginalRecordIfSplitValueIsArrayOfOne = true; /** @var string[] An array of ::class strings */ - public $relatedElementTypes = []; + public array $relatedElementTypes = []; public function fields(): array {