Implement strict Eloquent when developing
This commit is contained in:
parent
5f82c82818
commit
3f4634710c
9 changed files with 19 additions and 15 deletions
|
@ -141,7 +141,6 @@ class Note extends Model
|
|||
*
|
||||
* @return array
|
||||
*/
|
||||
#[ArrayShape(['note' => 'null|string'])]
|
||||
public function toSearchableArray(): array
|
||||
{
|
||||
return [
|
||||
|
@ -190,7 +189,7 @@ class Note extends Model
|
|||
/**
|
||||
* Provide the content_html for JSON feed.
|
||||
*
|
||||
* In particular we want to include media links such as images.
|
||||
* In particular, we want to include media links such as images.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue