mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 19:52:15 +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;
|
public function setDomains(array $domains): self;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prepend url
|
* Prepends prefix while ensuring that the url has the correct formatting.
|
||||||
*
|
*
|
||||||
* @param string $url
|
* @param string $url
|
||||||
* @return static
|
* @return static
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ interface ILoadableRoute extends IRoute
|
|||||||
public function setUrl(string $url): self;
|
public function setUrl(string $url): self;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prepend url
|
* Prepends url while ensuring that the url has the correct formatting.
|
||||||
* @param string $url
|
* @param string $url
|
||||||
* @return ILoadableRoute
|
* @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
|
* @param string $url
|
||||||
* @return ILoadableRoute
|
* @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
|
* @param string $url
|
||||||
* @return static
|
* @return static
|
||||||
|
|||||||
Reference in New Issue
Block a user