@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace FFCMS\Models; |
| 4 | 4 | |
| 5 | -use FFMVC\Helpers; |
|
| 6 | 5 | use FFCMS\{Traits, Mappers}; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * |
| 19 | 19 | * @param \Base $f3 |
| 20 | 20 | * @param array $params |
| 21 | - * @return void |
|
| 21 | + * @return string|null |
|
| 22 | 22 | */ |
| 23 | 23 | public function profile(\Base $f3, array $params = []) |
| 24 | 24 | { |
@@ -92,7 +92,6 @@ discard block |
||
| 92 | 92 | /** |
| 93 | 93 | * Return the URL path to the image if exists or false |
| 94 | 94 | * |
| 95 | - * @param null|string $uuid the user uuid |
|
| 96 | 95 | * @return string return the url path or false if not exists |
| 97 | 96 | */ |
| 98 | 97 | public function profileImageUrlPath($filename = null): string |
@@ -136,9 +135,8 @@ discard block |
||
| 136 | 135 | /** |
| 137 | 136 | * Return the URL path to the image if exists or false |
| 138 | 137 | * |
| 139 | - * @param string $uuid the user uuid |
|
| 140 | - * @return null|string $path to the profile image |
|
| 141 | - * @return bool true if the profile image exists |
|
| 138 | + * @return boolean $path to the profile image |
|
| 139 | + * @return boolean true if the profile image exists |
|
| 142 | 140 | */ |
| 143 | 141 | public function profileImageExists($filename = null) |
| 144 | 142 | { |
@@ -148,7 +146,7 @@ discard block |
||
| 148 | 146 | /** |
| 149 | 147 | * Return the URL path to the image if exists or false |
| 150 | 148 | * |
| 151 | - * @param null|string $uuid the user uuid |
|
| 149 | + * @param string $filename |
|
| 152 | 150 | * @return false|string return the url path or false if not exists |
| 153 | 151 | */ |
| 154 | 152 | public function profileImageUrl($filename = null) |