mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
PHP7 errors fix.
Warning: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP.
This commit is contained in:
parent
2cd07067de
commit
c58b5bf4bf
6 changed files with 9 additions and 9 deletions
|
|
@ -344,7 +344,7 @@ class SFTPModuleInstaller extends ModuleInstaller
|
|||
* @param object $package Package information
|
||||
* @return void
|
||||
*/
|
||||
function SFTPModuleInstaller(&$package)
|
||||
function __construct(&$package)
|
||||
{
|
||||
$this->package = &$package;
|
||||
$this->ftp_info = Context::getFTPInfo();
|
||||
|
|
@ -507,7 +507,7 @@ class PHPFTPModuleInstaller extends ModuleInstaller
|
|||
* @param object $package Package information
|
||||
* @var void
|
||||
*/
|
||||
function PHPFTPModuleInstaller(&$package)
|
||||
function __construct(&$package)
|
||||
{
|
||||
$this->package = &$package;
|
||||
$this->ftp_info = Context::getFTPInfo();
|
||||
|
|
@ -720,7 +720,7 @@ class FTPModuleInstaller extends ModuleInstaller
|
|||
*
|
||||
* @param object $package Package information
|
||||
*/
|
||||
function FTPModuleInstaller(&$package)
|
||||
function __construct(&$package)
|
||||
{
|
||||
$this->package = &$package;
|
||||
$this->ftp_info = Context::getFTPInfo();
|
||||
|
|
@ -880,7 +880,7 @@ class DirectModuleInstaller extends ModuleInstaller
|
|||
*
|
||||
* @param object $package Package information
|
||||
*/
|
||||
function DirectModuleInstaller(&$package)
|
||||
function __construct(&$package)
|
||||
{
|
||||
$this->package = &$package;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue