Skip to content

Commit 088a50e

Browse files
committed
Declare constants public
1 parent 294fbfd commit 088a50e

File tree

9 files changed

+28
-28
lines changed

9 files changed

+28
-28
lines changed

contribution/bbcode/type.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class type extends base
2424
/** @var demo\demo */
2525
protected $demo;
2626

27-
const ID = 7;
28-
const NAME = 'bbcode';
29-
const URL = 'bbcode';
27+
public const ID = 7;
28+
public const NAME = 'bbcode';
29+
public const URL = 'bbcode';
3030

3131
/**
3232
* Constructor

contribution/bridge/type.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
class type extends base
1919
{
20-
const ID = 5;
21-
const NAME = 'bridge';
22-
const URL = 'bridge';
20+
public const ID = 5;
21+
public const NAME = 'bridge';
22+
public const URL = 'bridge';
2323

2424
/**
2525
* @{inheritDoc}

contribution/converter/type.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
class type extends base
1919
{
20-
const ID = 3;
21-
const NAME = 'converter';
22-
const URL = 'converter';
20+
public const ID = 3;
21+
public const NAME = 'converter';
22+
public const URL = 'converter';
2323

2424
/**
2525
* @{inheritDoc}

contribution/extension/type.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class type extends base
2626
/** @var prevalidator */
2727
protected $prevalidator;
2828

29-
const ID = 8;
30-
const NAME = 'extension';
31-
const URL = 'extension';
29+
public const ID = 8;
30+
public const NAME = 'extension';
31+
public const URL = 'extension';
3232

3333
/**
3434
* Constructor

contribution/mod/type.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
class type extends base
1919
{
20-
const ID = 1;
21-
const NAME = 'mod';
22-
const URL = 'mod';
20+
public const ID = 1;
21+
public const NAME = 'mod';
22+
public const URL = 'mod';
2323

2424
/**
2525
* {@inheritDoc}

contribution/official_tool/type.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
class type extends base
1919
{
20-
const ID = 4;
21-
const NAME = 'official_tool';
22-
const URL = 'official_tool';
20+
public const ID = 4;
21+
public const NAME = 'official_tool';
22+
public const URL = 'official_tool';
2323

2424
/**
2525
* @{inheritDoc}

contribution/style/type.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ class type extends base
3030
/** @var demo\manager */
3131
protected $demo_manager;
3232

33-
const ID = 2;
34-
const NAME = 'style';
35-
const URL = 'style';
33+
public const ID = 2;
34+
public const NAME = 'style';
35+
public const URL = 'style';
3636

3737
/**
3838
* Constructor

contribution/translation/type.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ class type extends base
2626
/** @var prevalidator */
2727
protected $prevalidator;
2828

29-
const ID = 6;
30-
const NAME = 'translation';
31-
const URL = 'translation';
29+
public const ID = 6;
30+
public const NAME = 'translation';
31+
public const URL = 'translation';
3232

33-
const PHPBB_LATEST_VERSION = '3.2';
33+
public const PHPBB_LATEST_VERSION = '3.2';
3434

3535
/**
3636
* Constructor

contribution/type/base.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ class base implements type_interface
221221
*/
222222
public $contribution_fields = array();
223223

224-
const ID = 0;
225-
const NAME = 'contribution';
226-
const URL = 'contribution';
224+
public const ID = 0;
225+
public const NAME = 'contribution';
226+
public const URL = 'contribution';
227227

228228
/**
229229
* Constructor

0 commit comments

Comments
 (0)