@@ -22,6 +22,9 @@ |
||
| 22 | 22 | return $this->getUrlResourceResponse($url); |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @return Url |
|
| 27 | + */ |
|
| 25 | 28 | protected function findUrlByUri($uri) |
| 26 | 29 | { |
| 27 | 30 | try { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * Saves the URI and related URL object for the model. |
| 51 | 51 | * |
| 52 | - * @return Luminark\Url\Interfaces\HasUrlInterface URL resource object |
|
| 52 | + * @return HasUrlTrait URL resource object |
|
| 53 | 53 | */ |
| 54 | 54 | public function saveUri($uri = null) |
| 55 | 55 | { |
@@ -119,6 +119,7 @@ discard block |
||
| 119 | 119 | * Validates the URL value and makes sure it is unique. Override this |
| 120 | 120 | * method if custom validation is needed. |
| 121 | 121 | * |
| 122 | + * @param string $uri |
|
| 122 | 123 | * @return boolean URI validity status |
| 123 | 124 | */ |
| 124 | 125 | protected function validateUri($uri) |