Basics of importing a zip #13
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/Update.php#L34
Method JamesDordoy\HTMLable\Actions\Documents\Update::validate() should return array but returns Illuminate\Http\RedirectResponse.
|
phpstan:
src/Actions/Elements/Create.php#L20
Variable $validate on left side of ?? always exists and is not nullable.
|
phpstan:
src/Actions/Elements/Create.php#L22
Parameter #1 $attributes of static method Illuminate\Database\Eloquent\Builder<JamesDordoy\HTMLable\Models\Element>::create() expects array<model property of JamesDordoy\HTMLable\Models\Element, mixed>, bool given.
|
phpstan:
src/Actions/Elements/Create.php#L34
Method JamesDordoy\HTMLable\Actions\Elements\Create::validate() should return array but returns Illuminate\Http\RedirectResponse.
|
phpstan:
src/Actions/ImportZip.php#L19
Access to an undefined property JamesDordoy\HTMLable\Contracts\HTMLable::$name.
|
phpstan:
src/Actions/ImportZip.php#L22
Access to an undefined property JamesDordoy\HTMLable\Contracts\HTMLable::$id.
|