diff --git a/Eloquent/Relations/MorphToMany.php b/Eloquent/Relations/MorphToMany.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Relations/MorphToMany.php
+++ b/Eloquent/Relations/MorphToMany.php
@@ -116,6 +116,19 @@ class MorphToMany extends BelongsToMany
     }
 
     /**
+     * Get the pivot models that are currently attached.
+     *
+     * @return \Illuminate\Support\Collection
+     */
+    protected function getCurrentlyAttachedPivots()
+    {
+        return parent::getCurrentlyAttachedPivots()->map(function ($record) {
+              return $record->setMorphType($this->morphType)
+                            ->setMorphClass($this->morphClass);
+        });
+    }
+
+    /**
      * Create a new query builder for the pivot table.
      *
      * @return \Illuminate\Database\Query\Builder
fix bug with update existing pivot and polymorphic many to many