mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16955] Clean up debug, event, and extension classes
PHPBB3-16955
This commit is contained in:
@@ -35,7 +35,7 @@ class base implements \phpbb\extension\extension_interface
|
||||
/** @var string */
|
||||
protected $extension_path;
|
||||
|
||||
/** @var string[]|bool */
|
||||
/** @var string[]|false */
|
||||
private $migrations = false;
|
||||
|
||||
/**
|
||||
@@ -69,7 +69,7 @@ class base implements \phpbb\extension\extension_interface
|
||||
* Single enable step that installs any included migrations
|
||||
*
|
||||
* @param mixed $old_state State returned by previous call of this method
|
||||
* @return false Indicates no further steps are required
|
||||
* @return bool True if further steps are necessary, otherwise false
|
||||
*/
|
||||
public function enable_step($old_state)
|
||||
{
|
||||
@@ -95,7 +95,7 @@ class base implements \phpbb\extension\extension_interface
|
||||
* Single purge step that reverts any included and installed migrations
|
||||
*
|
||||
* @param mixed $old_state State returned by previous call of this method
|
||||
* @return false Indicates no further steps are required
|
||||
* @return bool True if further steps are necessary, otherwise false
|
||||
*/
|
||||
public function purge_step($old_state)
|
||||
{
|
||||
@@ -135,8 +135,6 @@ class base implements \phpbb\extension\extension_interface
|
||||
|
||||
$this->migrator->set_migrations($migrations);
|
||||
|
||||
$migrations = $this->migrator->get_migrations();
|
||||
|
||||
return $migrations;
|
||||
return $this->migrator->get_migrations();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user