Skip to content

Commit

Permalink
Use absolute class names in doc blocks #1382
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Oct 22, 2019
1 parent bd33487 commit b6f1188
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Cms/LanguageRoutes.php
Expand Up @@ -9,11 +9,14 @@ class LanguageRoutes
/**
* Creates all multi-language routes
*
* @param App $kirby
* @param \Kirby\Cms\App $kirby
* @return array
*/
public static function create(App $kirby): array
{
$routes = [];

// add the route for the home page
$routes[] = static::home($kirby);

// Kirby's base url
Expand Down Expand Up @@ -51,7 +54,7 @@ public static function create(App $kirby): array
* Create the fallback route
* for unprefixed default language URLs.
*
* @param App $kirby
* @param \Kirby\Cms\App $kirby
* @return array
*/
public static function fallback(App $kirby): array
Expand Down Expand Up @@ -88,7 +91,7 @@ public static function fallback(App $kirby): array
/**
* Create the multi-language home page route
*
* @param App $kirby
* @param \Kirby\Cms\App $kirby
* @return array
*/
public static function home(App $kirby): array
Expand Down

0 comments on commit b6f1188

Please sign in to comment.