aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-11-04 17:31:18 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-11-04 17:31:18 +0100
commit85837d48b20c63f86050d0125942b25928deb1a5 (patch)
treea27622ce5390a17f1bf98f4c9b4309e801de4e0b /phpBB
parent7df08fe12ef25bf3e5feba9aeb0cdface6411227 (diff)
downloadforums-85837d48b20c63f86050d0125942b25928deb1a5.tar
forums-85837d48b20c63f86050d0125942b25928deb1a5.tar.gz
forums-85837d48b20c63f86050d0125942b25928deb1a5.tar.bz2
forums-85837d48b20c63f86050d0125942b25928deb1a5.tar.xz
forums-85837d48b20c63f86050d0125942b25928deb1a5.zip
[ticket/12559] Use short array syntax
PHPBB3-12559
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/db/migration/data/v330/forums_legend_limit.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/phpBB/phpbb/db/migration/data/v330/forums_legend_limit.php b/phpBB/phpbb/db/migration/data/v330/forums_legend_limit.php
index 45b6547ede..c5a4beef38 100644
--- a/phpBB/phpbb/db/migration/data/v330/forums_legend_limit.php
+++ b/phpBB/phpbb/db/migration/data/v330/forums_legend_limit.php
@@ -22,28 +22,28 @@ class forums_legend_limit extends \phpbb\db\migration\migration
static public function depends_on()
{
- return array('\phpbb\db\migration\data\v330\v330b1');
+ return ['\phpbb\db\migration\data\v330\v330b1'];
}
public function update_schema()
{
- return array(
- 'add_columns' => array(
- $this->table_prefix . 'forums' => array(
- 'display_subforum_limit' => array('BOOL', 0, 'after' => 'display_subforum_list'),
- ),
- ),
- );
+ return [
+ 'add_columns' => [
+ $this->table_prefix . 'forums' => [
+ 'display_subforum_limit' => ['BOOL', 0, 'after' => 'display_subforum_list'],
+ ],
+ ],
+ ];
}
public function revert_schema()
{
- return array(
- 'drop_columns' => array(
- $this->table_prefix . 'forums' => array(
+ return [
+ 'drop_columns' => [
+ $this->table_prefix . 'forums' => [
'display_subforum_limit',
- ),
- ),
- );
+ ],
+ ],
+ ];
}
}