mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
Improved phpDoc for prepend methods
This commit is contained in:
@@ -54,7 +54,7 @@ interface IGroupRoute extends IRoute
|
||||
public function setDomains(array $domains): self;
|
||||
|
||||
/**
|
||||
* Prepend url
|
||||
* Prepends prefix while ensuring that the url has the correct formatting.
|
||||
*
|
||||
* @param string $url
|
||||
* @return static
|
||||
|
||||
@@ -40,7 +40,7 @@ interface ILoadableRoute extends IRoute
|
||||
public function setUrl(string $url): self;
|
||||
|
||||
/**
|
||||
* Prepend url
|
||||
* Prepends url while ensuring that the url has the correct formatting.
|
||||
* @param string $url
|
||||
* @return ILoadableRoute
|
||||
*/
|
||||
|
||||
@@ -86,7 +86,7 @@ abstract class LoadableRoute extends Route implements ILoadableRoute
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepend url
|
||||
* Prepends url while ensuring that the url has the correct formatting.
|
||||
*
|
||||
* @param string $url
|
||||
* @return ILoadableRoute
|
||||
|
||||
@@ -154,7 +154,7 @@ class RouteGroup extends Route implements IGroupRoute
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepend prefix
|
||||
* Prepends prefix while ensuring that the url has the correct formatting.
|
||||
*
|
||||
* @param string $url
|
||||
* @return static
|
||||
|
||||
Reference in New Issue
Block a user