File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/UserInterface/Eloquent/Concerns Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 55namespace ARKEcosystem \Foundation \UserInterface \Eloquent \Concerns ;
66
77use Illuminate \Database \Eloquent \Builder ;
8- use Illuminate \ Database \ Eloquent \ Model ;
8+ use Spatie \ SchemalessAttributes \ SchemalessAttributes ;
99
10+ /**
11+ * @property SchemalessAttributes $extra_attributes
12+ */
1013trait HasSchemalessAttributes
1114{
1215 /**
@@ -97,7 +100,7 @@ public function fillMetaAttributes(array $attributes): self
97100 *
98101 * @return self
99102 */
100- public static function updateOrCreateWithMeta (array $ attributes , array $ values ): Model
103+ public static function updateOrCreateWithMeta (array $ attributes , array $ values ): self
101104 {
102105 $ model = static ::withExtraAttributes ($ attributes )->first ();
103106
You can’t perform that action at this time.
0 commit comments