Skip to content

Commit faa5d5c

Browse files
authored
Adds Return Type to toSearchableArray method (#10332)
1 parent 4fb3d91 commit faa5d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scout.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ When utilizing Typesense, your searchable model's must define a `toSearchableArr
176176
*
177177
* @return array<string, mixed>
178178
*/
179-
public function toSearchableArray()
179+
public function toSearchableArray(): array
180180
{
181181
return array_merge($this->toArray(),[
182182
'id' => (string) $this->id,

0 commit comments

Comments
 (0)