Skip to content

Commit a55fb24

Browse files
committed
Code-style cleanup.
- Public before private properties. - Magic before public before private methods.
1 parent ee8e9e6 commit a55fb24

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

Changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
3131
### v3.2.0
3232

3333
[2021.06.10; Maikuolan]: Added a configuration directive for returning a 415 status code for when an upload is blocked due to its filetype being blacklisted.
34+
35+
### v3.2.1
36+
37+
[2021.10.30; Maikuolan]: Code-style cleanup: Public before private properties, magic before public before private methods.

src/Web.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Upload handler (last modified: 2021.09.05).
11+
* This file: Upload handler (last modified: 2021.10.30).
1212
*/
1313

1414
namespace phpMussel\Web;
1515

1616
class Web
1717
{
18+
/**
19+
* @var string A path for any custom front-end asset files.
20+
*/
21+
public $CustomAssetsPath = '';
22+
1823
/**
1924
* @var \phpMussel\Core\Loader The instantiated loader object.
2025
*/
@@ -30,11 +35,6 @@ class Web
3035
*/
3136
private $AssetsPath = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR;
3237

33-
/**
34-
* @var string A path for any custom front-end asset files.
35-
*/
36-
public $CustomAssetsPath = '';
37-
3838
/**
3939
* @var string The path to the upload handler's L10N files.
4040
*/

0 commit comments

Comments
 (0)