Skip to content

Commit f0c5cbd

Browse files
committed
Code style fixes
1 parent 4f0ebff commit f0c5cbd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: action/migration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class action_plugin_structpublish_migration extends DokuWiki_Action_Plugin
66
{
7-
const MIN_DB_STRUCT = 19;
7+
public const MIN_DB_STRUCT = 19;
88

99
/** @var string */
1010
protected $table = 'data_structpublish';

Diff for: meta/Constants.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
class Constants
1111
{
1212
// a page can be in one current status
13-
const STATUS_DRAFT = 'draft';
14-
const STATUS_APPROVED = 'approved';
15-
const STATUS_PUBLISHED = 'published';
13+
public const STATUS_DRAFT = 'draft';
14+
public const STATUS_APPROVED = 'approved';
15+
public const STATUS_PUBLISHED = 'published';
1616

1717
// an action transitions a page from one status to another
18-
const ACTION_APPROVE = 'approve';
19-
const ACTION_PUBLISH = 'publish';
18+
public const ACTION_APPROVE = 'approve';
19+
public const ACTION_PUBLISH = 'publish';
2020

2121
/**
2222
* Convenience function mapping transition actions to resulting status

0 commit comments

Comments
 (0)