Tiding up #12
Annotations
10 errors
phpstan:
database/migrations/2024_10_05_create_htmlable_elements_table.php#L16
Call to an undefined method Illuminate\Database\Schema\ForeignIdColumnDefinition::onDelete().
|
phpstan:
database/migrations/2024_10_05_create_htmlable_elements_table.php#L17
Call to an undefined method Illuminate\Database\Schema\ForeignIdColumnDefinition::onDelete().
|
phpstan:
database/migrations/2024_10_05_create_htmlable_values_table.php#L14
Call to an undefined method Illuminate\Database\Schema\ForeignIdColumnDefinition::onDelete().
|
phpstan:
src/Actions/Documents/Create.php#L14
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
|
phpstan:
src/Actions/Documents/Create.php#L20
Variable $validate on left side of ?? always exists and is not nullable.
|
phpstan:
src/Actions/Documents/Create.php#L22
Parameter #1 $attributes of static method Illuminate\Database\Eloquent\Builder<JamesDordoy\HTMLable\Models\Document>::create() expects array<model property of JamesDordoy\HTMLable\Models\Document, mixed>, bool given.
|
phpstan:
src/Actions/Documents/Create.php#L35
Method JamesDordoy\HTMLable\Actions\Documents\Create::validate() should return array but returns Illuminate\Http\RedirectResponse.
|
phpstan:
src/Actions/Documents/Import.php#L27
Unreachable statement - code above always terminates.
|
phpstan:
src/Actions/Documents/Import.php#L49
Method JamesDordoy\HTMLable\Actions\Documents\Import::validate() should return array but returns Illuminate\Http\RedirectResponse.
|
phpstan:
src/Actions/Documents/Update.php#L34
Method JamesDordoy\HTMLable\Actions\Documents\Update::validate() should return array but returns Illuminate\Http\RedirectResponse.
|