Skip to content

Commit c0e6306

Browse files
committed
Fix style issue
1 parent e0031ab commit c0e6306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fieldtypes/BaseFieldtype.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function shallowAugment($values)
243243
{
244244
$resource = Runway::findResource($this->config('resource'));
245245

246-
if ($values instanceof HasMany) {
246+
if (($values instanceof HasMany) || ($values instanceof MorphToMany)) {
247247
$results = $values
248248
->get()
249249
->map->toShallowAugmentedArray()

0 commit comments

Comments
 (0)