@@ -894,7 +894,7 @@ public function getParent()
894894 * Return a string of the form "parent - page" or "grandparent - parent - page" using page titles
895895 *
896896 * @param int $level The maximum amount of levels to traverse.
897- * @param string $separator Seperating string
897+ * @param string $separator Separating string
898898 * @return string The resulting string
899899 */
900900 public function NestedTitle ($ level = 2 , $ separator = " - " )
@@ -1705,7 +1705,7 @@ public function generateURLSegment($title)
17051705 $ filter = URLSegmentFilter::create ();
17061706 $ filteredTitle = $ filter ->filter ($ title );
17071707
1708- // Fallback to generic page name if path is empty (= no valid, convertable characters)
1708+ // Fallback to generic page name if path is empty (= no valid, convertible characters)
17091709 if (!$ filteredTitle || $ filteredTitle == '- ' || $ filteredTitle == '-1 ' ) {
17101710 $ filteredTitle = "page- $ this ->ID " ;
17111711 }
@@ -1789,7 +1789,7 @@ public function BackLinkTracking()
17891789 /**
17901790 * Returns the pages that depend on this page. This includes virtual pages, pages that link to it, etc.
17911791 *
1792- * @param bool $includeVirtuals Set to false to exlcude virtual pages.
1792+ * @param bool $includeVirtuals Set to false to exclude virtual pages.
17931793 * @return ArrayList<SiteTree>
17941794 */
17951795 public function DependentPages ($ includeVirtuals = true )
@@ -2413,7 +2413,7 @@ protected function onAfterPublish()
24132413 }
24142414
24152415 /**
2416- * Update draft dependant pages
2416+ * Update draft dependent pages
24172417 */
24182418 protected function onAfterRevertToLive ()
24192419 {
@@ -2605,7 +2605,7 @@ public function getPageLevel()
26052605
26062606 /**
26072607 * Find the controller name by our convention of {$ModelClass}Controller
2608- * Can be overriden by config variable
2608+ * Can be overridden by config variable
26092609 *
26102610 * @return string
26112611 */
@@ -2665,7 +2665,7 @@ public function updateCMSTreeClasses(string &$classes): void
26652665
26662666 /**
26672667 * Stops extendCMSFields() being called on getCMSFields(). This is useful when you need access to fields added by
2668- * subclasses of SiteTree in a extension. Call before calling parent::getCMSFields(), and reenable afterwards.
2668+ * subclasses of SiteTree in a extension. Call before calling parent::getCMSFields(), and re-enable afterwards.
26692669 */
26702670 public static function disableCMSFieldsExtensions ()
26712671 {
@@ -2787,7 +2787,7 @@ public static function flush()
27872787 }
27882788
27892789 /**
2790- * Update dependant pages
2790+ * Update dependent pages
27912791 */
27922792 protected function updateDependentPages ()
27932793 {
0 commit comments