Skip to content

Commit

Permalink
Docblocks util properties should be private (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Apr 3, 2024
1 parent 18c748d commit 140f29f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions moodle/Util/Docblocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ abstract class Docblocks
*
* @var array<string, bool>
* @link http://manual.phpdoc.org/HTMLSmartyConverter/HandS/ */
public static array $validTags = [
private static array $validTags = [
// Behat tags.
'Given' => true,
'Then' => true,
Expand Down Expand Up @@ -100,7 +100,7 @@ abstract class Docblocks
*
* @var string[]
*/
public static array $invalidTagsToRemove = [
private static array $invalidTagsToRemove = [
'void',
];

Expand All @@ -109,7 +109,7 @@ abstract class Docblocks
*
* @var string[string]
*/
public static array $renameTags = [
private static array $renameTags = [
// Rename returns to return.
'returns' => 'return',
];
Expand All @@ -120,7 +120,7 @@ abstract class Docblocks
*
* @var array(string => array(string))
*/
public static array $pathRestrictedTags = [
private static array $pathRestrictedTags = [
'Given' => ['#.*/tests/behat/.*#'],
'Then' => ['#.*/tests/behat/.*#'],
'When' => ['#.*/tests/behat/.*#'],
Expand Down

0 comments on commit 140f29f

Please sign in to comment.