Skip to content

Commit

Permalink
Add comment description to the case in ParserOption ENUM
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhiiCho committed Jan 22, 2024
1 parent 7f885cc commit ff21fd5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes

## v2.9.4 (2024-01-22)

- Add comment description to the case in `ParserOption` ENUM

----

## v2.9.3 (2024-01-12)

- Moved `phpunit` from "require" to "require-dev" in `composer.json` file
Expand Down Expand Up @@ -184,4 +190,4 @@

## v1.0 (2019-09-24)

- First ever version
- First ever version
6 changes: 6 additions & 0 deletions src/ParserOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@

enum ParserOption
{
/**
* If you pass this option, the parser, instead of getting
* the content of the provided file path, will parse the
* provided string. This option is useful when you want
* to parse a string instead of a file.
*/
case PARSE_TEXT;
}

0 comments on commit ff21fd5

Please sign in to comment.