Skip to content

Commit af3baca

Browse files
committed
add a comment
Signed-off-by: Alan Wynn <alan.wynn@me.com>
1 parent b9ccf9a commit af3baca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Services/ModelService.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public function getFullTextIndexFields()
4949

5050
$columnType = $column[0]->Type;
5151

52+
// When using `$appends` to include an accessor for a field that doesn't exist,
53+
// an ErrorException will be thrown for `Undefined Offset: 0`
5254
if ($this->isFullTextSupportedColumnType($columnType)) {
5355
$indexFields[] = $searchableField;
5456
}

0 commit comments

Comments
 (0)