]> BookStack Code Mirror - bookstack/blobdiff - app/References/ReferenceChangeContext.php
Copying: Fixed issue with non-page links to page permalinks
[bookstack] / app / References / ReferenceChangeContext.php
index f11619813691be4cf4baa618590b7699bf7173e7..27de0e2d24ca379894cf79357ec6b344b40b4860 100644 (file)
@@ -17,17 +17,6 @@ class ReferenceChangeContext
         $this->changes[] = [$oldEntity, $newEntity];
     }
 
-    /**
-     * Get all the change pairs.
-     * Returned array is an array of pairs, where the first item is the old entity
-     * and the second is the new entity.
-     * @return array<array{0: Entity, 1: Entity}>
-     */
-    public function getChanges(): array
-    {
-        return $this->changes;
-    }
-
     /**
      * Get all the new entities from the changes.
      */