@@ -9,10 +9,9 @@ |
||
9 | 9 | |
10 | 10 | defined('PH7') or die('Restricted access'); |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Layout\Html\Design, |
|
14 | -PH7\Framework\Mvc\Router\Uri, |
|
15 | -PH7\Framework\Url\Header; |
|
12 | +use PH7\Framework\Layout\Html\Design; |
|
13 | +use PH7\Framework\Mvc\Router\Uri; |
|
14 | +use PH7\Framework\Url\Header; |
|
16 | 15 | |
17 | 16 | class Permission extends PermissionCore |
18 | 17 | { |
@@ -8,7 +8,8 @@ |
||
8 | 8 | namespace PH7; |
9 | 9 | defined('PH7') or exit('Restricted access'); |
10 | 10 | |
11 | -use PH7\Framework\Cache\Cache, PH7\Framework\Mvc\Request\Http; |
|
11 | +use PH7\Framework\Cache\Cache; |
|
12 | +use PH7\Framework\Mvc\Request\Http; |
|
12 | 13 | |
13 | 14 | class EditFormProcess extends Form |
14 | 15 | { |
@@ -9,10 +9,9 @@ |
||
9 | 9 | |
10 | 10 | defined('PH7') or exit('Restricted access'); |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Layout\Html\Design, |
|
14 | -PH7\Framework\Mvc\Router\Uri, |
|
15 | -PH7\Framework\Url\Header; |
|
12 | +use PH7\Framework\Layout\Html\Design; |
|
13 | +use PH7\Framework\Mvc\Router\Uri; |
|
14 | +use PH7\Framework\Url\Header; |
|
16 | 15 | |
17 | 16 | class Permission extends PermissionCore |
18 | 17 | { |
@@ -8,14 +8,13 @@ |
||
8 | 8 | namespace PH7; |
9 | 9 | defined('PH7') or exit('Restricted access'); |
10 | 10 | |
11 | -use |
|
12 | -PH7\Framework\Mvc\Model\Engine\Db, |
|
13 | -PH7\Framework\Image\Image, |
|
14 | -PH7\Framework\Security\Moderation\Filter, |
|
15 | -PH7\Framework\Util\Various, |
|
16 | -PH7\Framework\Mvc\Model\DbConfig, |
|
17 | -PH7\Framework\Mvc\Router\Uri, |
|
18 | -PH7\Framework\Url\Header; |
|
11 | +use PH7\Framework\Mvc\Model\Engine\Db; |
|
12 | +use PH7\Framework\Image\Image; |
|
13 | +use PH7\Framework\Security\Moderation\Filter; |
|
14 | +use PH7\Framework\Util\Various; |
|
15 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
16 | +use PH7\Framework\Mvc\Router\Uri; |
|
17 | +use PH7\Framework\Url\Header; |
|
19 | 18 | |
20 | 19 | class AlbumFormProcess extends Form |
21 | 20 | { |
@@ -191,7 +191,8 @@ discard block |
||
191 | 191 | * If the file does not exist, the function does nothing. |
192 | 192 | * |
193 | 193 | * @param mixed (string | array) $mFile |
194 | - * @return boolean |
|
194 | + * @param string $mFile |
|
195 | + * @return boolean|null |
|
195 | 196 | */ |
196 | 197 | public function deleteFile($mFile) |
197 | 198 | { |
@@ -221,7 +222,7 @@ discard block |
||
221 | 222 | * Allocates space for a file to be uploaded. |
222 | 223 | * |
223 | 224 | * @param string $sFile |
224 | - * @return mixed (boolean | string) Returns TRUE on success or a message from the server in case of failure. |
|
225 | + * @return string|boolean (boolean | string) Returns TRUE on success or a message from the server in case of failure. |
|
225 | 226 | */ |
226 | 227 | public function alloc($sFile) |
227 | 228 | { |
@@ -288,7 +289,7 @@ discard block |
||
288 | 289 | * Requests execution of a command on the FTP server. |
289 | 290 | * |
290 | 291 | * @param string $sCommand |
291 | - * @return Returns TRUE if the command was successful (server sent response code: 200); otherwise returns FALSE. |
|
292 | + * @return boolean TRUE if the command was successful (server sent response code: 200); otherwise returns FALSE. |
|
292 | 293 | */ |
293 | 294 | public function exec($sCommand) |
294 | 295 | { |
@@ -9,10 +9,9 @@ |
||
9 | 9 | |
10 | 10 | defined('PH7') or die('Restricted access'); |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Layout\Html\Design, |
|
14 | -PH7\Framework\Mvc\Router\Uri, |
|
15 | -PH7\Framework\Url\Header; |
|
12 | +use PH7\Framework\Layout\Html\Design; |
|
13 | +use PH7\Framework\Mvc\Router\Uri; |
|
14 | +use PH7\Framework\Url\Header; |
|
16 | 15 | |
17 | 16 | class Permission extends PermissionCore |
18 | 17 | { |
@@ -9,10 +9,9 @@ |
||
9 | 9 | |
10 | 10 | defined('PH7') or die('Restricted access'); |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Layout\Html\Design, |
|
14 | -PH7\Framework\Mvc\Router\Uri, |
|
15 | -PH7\Framework\Url\Header; |
|
12 | +use PH7\Framework\Layout\Html\Design; |
|
13 | +use PH7\Framework\Mvc\Router\Uri; |
|
14 | +use PH7\Framework\Url\Header; |
|
16 | 15 | |
17 | 16 | class Permission extends PermissionCore |
18 | 17 | { |
@@ -9,10 +9,9 @@ |
||
9 | 9 | |
10 | 10 | defined('PH7') or exit('Restricted access'); |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Layout\Html\Design, |
|
14 | -PH7\Framework\Mvc\Router\Uri, |
|
15 | -PH7\Framework\Url\Header; |
|
12 | +use PH7\Framework\Layout\Html\Design; |
|
13 | +use PH7\Framework\Mvc\Router\Uri; |
|
14 | +use PH7\Framework\Url\Header; |
|
16 | 15 | |
17 | 16 | class Permission extends PermissionCore |
18 | 17 | { |
@@ -9,10 +9,8 @@ |
||
9 | 9 | |
10 | 10 | defined('PH7') or die('Restricted access'); |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Layout\Html\Design, |
|
14 | -PH7\Framework\Mvc\Router\Uri, |
|
15 | -PH7\Framework\Url\Header; |
|
12 | +use PH7\Framework\Layout\Html\Design; |
|
13 | +use PH7\Framework\Url\Header; |
|
16 | 14 | |
17 | 15 | class Permission extends PermissionCore |
18 | 16 | { |