mirror of
https://github.com/flarum/core.git
synced 2025-07-23 09:41:26 +02:00
Fix variable names (#4)
It's not causing any issue because the correct variable name is always used to set and read the value, and PHP is fine setting new attributes on a class dynamically. It's just the explicit variables declared don't match with those actually used later.
This commit is contained in:
@@ -32,7 +32,7 @@ class SetupScript
|
|||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
protected $post;
|
protected $port;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test database name.
|
* Test database name.
|
||||||
@@ -60,7 +60,7 @@ class SetupScript
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $prefix;
|
protected $pref;
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user