@@ -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) |
@@ -57,6 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * Create if needed, and return the dir to the asset path |
59 | 59 | * |
60 | + * @param string $assetPath |
|
60 | 61 | * @return string string $assetPath the path in assets |
61 | 62 | */ |
62 | 63 | public function assetDirPath($assetPath): string |
@@ -85,8 +86,8 @@ discard block |
||
85 | 86 | * Return the URL path to the asset if exists or false |
86 | 87 | * |
87 | 88 | * @param string $dirPath dir for the $filename |
88 | - * @return string $path to the asset |
|
89 | - * @return bool true if the asset exists |
|
89 | + * @return boolean $path to the asset |
|
90 | + * @return boolean true if the asset exists |
|
90 | 91 | */ |
91 | 92 | public function assetExists($dirPath, $filename) |
92 | 93 | { |
@@ -97,7 +98,6 @@ discard block |
||
97 | 98 | * Return the URL path to the asset if exists or false |
98 | 99 | * |
99 | 100 | * @param string $dirPath dir for the $filename |
100 | - * @param string $uuid the user uuid |
|
101 | 101 | * @return false|string return the url path or false if not exists |
102 | 102 | */ |
103 | 103 | public function assetUrl($dirPath, $filename) |