Skip to content

Commit

Permalink
Merge pull request #4 from cosmocode/bot/autofix
Browse files Browse the repository at this point in the history
🤖 Automatic code style fixes
  • Loading branch information
splitbrain authored Nov 8, 2023
2 parents 441edf8 + 962f9fb commit fad6d42
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Chunk.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ public function __construct(
protected $id,
protected $text,
protected $embedding,
$lang = '',
$created = '',
$lang = '',
$created = '',
protected $score = 0
)
{
) {
$this->language = $lang ?: $this->determineLanguage();
$this->created = $created ?: time();
}
Expand Down

0 comments on commit fad6d42

Please sign in to comment.