Skip to content

Commit

Permalink
refactor: update phpstan property type (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley authored Oct 7, 2021
1 parent 3e05c8f commit 442eb6d
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
namespace ARKEcosystem\Foundation\UserInterface\Eloquent\Concerns;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Spatie\SchemalessAttributes\SchemalessAttributes;

/**
* @property SchemalessAttributes $extra_attributes
*/
trait HasSchemalessAttributes
{
/**
Expand Down Expand Up @@ -97,7 +100,7 @@ public function fillMetaAttributes(array $attributes): self
*
* @return self
*/
public static function updateOrCreateWithMeta(array $attributes, array $values): Model
public static function updateOrCreateWithMeta(array $attributes, array $values): self
{
$model = static::withExtraAttributes($attributes)->first();

Expand Down

0 comments on commit 442eb6d

Please sign in to comment.