mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-04 19:51:39 +02:00
[ticket/17540] Change handling of rename_index array
PHPBB-17540
This commit is contained in:
@@ -27,7 +27,7 @@ class rename_duplicated_index_names extends migration
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected static $rename_index = [];
|
||||
protected static $rename_index;
|
||||
|
||||
public static function depends_on()
|
||||
{
|
||||
@@ -72,7 +72,7 @@ class rename_duplicated_index_names extends migration
|
||||
}
|
||||
|
||||
return [
|
||||
'rename_index' => self::$rename_index,
|
||||
'rename_index' => self::$rename_index ?? [],
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user