File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -777,7 +777,7 @@ public function getSystemName(): string
777777 $ name = null ;
778778 }
779779
780- return $ name ?: ' Craft ' ;
780+ return $ name ?: config ( ' app.name ' , ' Craft ') ;
781781 }
782782
783783 /**
@@ -836,6 +836,7 @@ public function getAddresses(): Addresses
836836 *
837837 * @return Announcements The announcements service
838838 * @since 3.7.0
839+ * @deprecated 6.0.0 use {@see \CraftCms\Cms\Announcement\Announcements} instead.
839840 */
840841 public function getAnnouncements (): Announcements
841842 {
@@ -918,7 +919,7 @@ public function getConfig(): Config
918919 * Returns the dashboard service.
919920 *
920921 * @return Dashboard The dashboard service
921- * @deprecated in 6.0.0. Use `app( \CraftCms\Cms\Dashboard\Dashboard::class)` instead.
922+ * @deprecated in 6.0.0. Use {@see \CraftCms\Cms\Dashboard\Dashboard} instead.
922923 */
923924 public function getDashboard (): Dashboard
924925 {
@@ -943,6 +944,7 @@ public function getDb2(): Connection
943944 * Returns the deprecator service.
944945 *
945946 * @return Deprecator The deprecator service
947+ * @deprecated in 6.0.0. Use {@see \CraftCms\Cms\Deprecator\Deprecator} instead.
946948 */
947949 public function getDeprecator (): Deprecator
948950 {
You can’t perform that action at this time.
0 commit comments