We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e86a06a commit 8fc8b02Copy full SHA for 8fc8b02
src/IndexedRecord.php
@@ -19,7 +19,7 @@ class IndexedRecord extends Model
19
*/
20
public function __construct(array $attributes = [])
21
{
22
- $this->connection = Config::string('laravel-fulltext.db_connection');
+ $this->connection = Config::string('laravel-fulltext.db_connection') ?? null;
23
24
parent::__construct($attributes);
25
}
0 commit comments