Skip to content

Commit c306815

Browse files
authored
Fix static access modifiers (#36)
1 parent 0f2594a commit c306815

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

event/main_listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class main_listener implements EventSubscriberInterface
2121
{
22-
static public function getSubscribedEvents()
22+
public static function getSubscribedEvents()
2323
{
2424
return array(
2525
'core.user_setup' => 'load_language_on_setup',

migrations/release_1_0_0.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function effectively_installed()
1616
return isset($this->config['acme_demo_goodbye']);
1717
}
1818

19-
static public function depends_on()
19+
public static function depends_on()
2020
{
2121
return array('\phpbb\db\migration\data\v310\alpha2');
2222
}

migrations/release_1_0_1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function effectively_installed()
1616
return $this->db_tools->sql_column_exists($this->table_prefix . 'users', 'user_acme');
1717
}
1818

19-
static public function depends_on()
19+
public static function depends_on()
2020
{
2121
return array('\acme\demo\migrations\release_1_0_0');
2222
}

0 commit comments

Comments
 (0)