Skip to content

Commit

Permalink
#31 fix: update fields in the metabox model
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jan 13, 2025
1 parent edc342d commit 190c843
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/Models/MetaBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
* @package CSlant\Blog\Core\Models
*
* @property int $id
* @property string $name
* @property string $description
* @property string $status
* @property int $author_id
* @property string $author_type
* @property string $meta_key
* @property string $meta_value
* @property int $reference_id
* @property string $reference_type
* @property Carbon $created_at
* @property Carbon $updated_at
* @property string $slug
*
* @method static Builder|MetaBox newModelQuery()
* @method static Builder|MetaBox newQuery()
Expand All @@ -39,6 +37,13 @@
#[AllowDynamicProperties]
class MetaBox extends BaseMetaBox
{
protected $fillable = [

Check failure on line 40 in src/Models/MetaBox.php

View workflow job for this annotation

GitHub Actions / PHPStan - P8.1

Property CSlant\Blog\Core\Models\MetaBox::$fillable has no type specified.

Check failure on line 40 in src/Models/MetaBox.php

View workflow job for this annotation

GitHub Actions / PHPStan - P8.3

Property CSlant\Blog\Core\Models\MetaBox::$fillable has no type specified.

Check failure on line 40 in src/Models/MetaBox.php

View workflow job for this annotation

GitHub Actions / PHPStan - P8.4

Property CSlant\Blog\Core\Models\MetaBox::$fillable has no type specified.
'meta_key',
'meta_value',
'reference_id',
'reference_type',
];

public static function getBaseModel(): string
{
return 'Botble\Base\Models\MetaBox';
Expand Down

0 comments on commit 190c843

Please sign in to comment.