Skip to content

Commit

Permalink
Code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed Apr 4, 2024
1 parent 4f0ebff commit f0c5cbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion action/migration.php
Expand Up @@ -4,7 +4,7 @@

class action_plugin_structpublish_migration extends DokuWiki_Action_Plugin
{
const MIN_DB_STRUCT = 19;
public const MIN_DB_STRUCT = 19;

/** @var string */
protected $table = 'data_structpublish';
Expand Down
10 changes: 5 additions & 5 deletions meta/Constants.php
Expand Up @@ -10,13 +10,13 @@
class Constants
{
// a page can be in one current status
const STATUS_DRAFT = 'draft';
const STATUS_APPROVED = 'approved';
const STATUS_PUBLISHED = 'published';
public const STATUS_DRAFT = 'draft';
public const STATUS_APPROVED = 'approved';
public const STATUS_PUBLISHED = 'published';

// an action transitions a page from one status to another
const ACTION_APPROVE = 'approve';
const ACTION_PUBLISH = 'publish';
public const ACTION_APPROVE = 'approve';
public const ACTION_PUBLISH = 'publish';

/**
* Convenience function mapping transition actions to resulting status
Expand Down

0 comments on commit f0c5cbd

Please sign in to comment.