Skip to content

Commit

Permalink
Issue #843: Change @const to @var for constants.
Browse files Browse the repository at this point in the history
As Thierry mentioned,
this is required for a valid PHPDoc.
  • Loading branch information
Ryan Kienstra committed Feb 8, 2018
1 parent 13ab280 commit f996673
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions includes/utils/class-amp-mutation-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,42 +15,42 @@ class AMP_Mutation_Utils {
/**
* The argument if an attribute was removed.
*
* @const array.
* @var array.
*/
const ATTRIBUTE_REMOVED = 'removed_attr';

/**
* The argument if a node was removed.
*
* @const array.
* @var array.
*/
const NODE_REMOVED = 'removed';

/**
* Key for the markup value in the REST API endpoint.
*
* @const string.
* @var string.
*/
const MARKUP_KEY = 'markup';

/**
* Key for the error value in the response.
*
* @const string.
* @var string.
*/
const ERROR_KEY = 'has_error';

/**
* Key of the AMP error query var.
*
* @const string.
* @var string.
*/
const ERROR_QUERY_KEY = 'amp_error';

/**
* Query arg value if there is an AMP error in the post content.
*
* @const string.
* @var string.
*/
const ERROR_QUERY_VALUE = '1';

Expand Down

0 comments on commit f996673

Please sign in to comment.