Skip to content

Commit

Permalink
Declare class constants as public hydephp/develop@50d1bdf
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 26, 2022
1 parent 5437fe8 commit 9e12e21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Models/Support/DateString.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
class DateString implements Stringable
{
/** Date format constants */
const DATETIME_FORMAT = 'c';
const SENTENCE_FORMAT = 'l M jS, Y, \a\t g:ia';
const SHORT_FORMAT = 'M jS, Y';
public const DATETIME_FORMAT = 'c';
public const SENTENCE_FORMAT = 'l M jS, Y, \a\t g:ia';
public const SHORT_FORMAT = 'M jS, Y';

/** The original date string. */
public string $string;
Expand Down

0 comments on commit 9e12e21

Please sign in to comment.