Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
- Fix bugs for PHP 5.x
  • Loading branch information
JackieDo committed Mar 17, 2022
1 parent f9cd875 commit cdaec14
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
],
'phpdoc_no_empty_return' => false,
'phpdoc_no_package' => false,
'visibility_required' => [
'elements' => [
'property',
'method',
],
],
];

$config = new Config;
Expand Down
6 changes: 3 additions & 3 deletions src/Timezonelist.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class Timezonelist
/**
* HTML entities.
*/
public const MINUS = '−';
public const PLUS = '+';
public const WHITESPACE = ' ';
const MINUS = '−';
const PLUS = '+';
const WHITESPACE = ' ';

/**
* General timezones.
Expand Down

0 comments on commit cdaec14

Please sign in to comment.