File tree Expand file tree Collapse file tree 3 files changed +3
-21
lines changed
Expand file tree Collapse file tree 3 files changed +3
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11* text =auto
22
3- /bin / export-ignore
4- /docs / export-ignore
5- /tests / export-ignore
63/. * export-ignore
7- /* .yml export-ignore
8- /* .xml export-ignore
9- /README.md export-ignore
Original file line number Diff line number Diff line change @@ -68,14 +68,14 @@ public static function boot()
6868 $ routeListClasses = static ::getRoutesClasses ();
6969 if (is_array ($ routeListClasses ) && !empty ($ routeListClasses )) {
7070 /**
71- * @var \Concrete\Core\Routing\Router
71+ * @var \Concrete\Core\Routing\Router $router
7272 */
7373 $ router = Route::getFacadeRoot ();
7474 foreach ($ routeListClasses as $ routeListClass ) {
7575 if (is_subclass_of ($ routeListClass , 'Concrete\Core\Routing\RouteListInterface ' )) {
7676 $ router ->loadRouteList ($ app ->build ($ routeListClass ));
7777 } else {
78- throw new \Exception (t (get_called_class () . ':getRoutesClass: RoutesClass should be instanceof Concrete\Core\Routing\RouteListInterface ' ));
78+ throw new \Exception (t (static ::class . ':getRoutesClass: RoutesClass should be instanceof Concrete\Core\Routing\RouteListInterface ' ));
7979 }
8080 }
8181 }
@@ -89,7 +89,7 @@ public static function boot()
8989 protected static function getClassAliases ()
9090 {
9191 return [
92- static ::getPackageAlias () => get_called_class () ,
92+ static ::getPackageAlias () => static ::class ,
9393 ];
9494 }
9595
You can’t perform that action at this time.
0 commit comments