Skip to content

Commit 1eae3cf

Browse files
committed
Add back space on empty lines
1 parent 7fc7785 commit 1eae3cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ It's an abstract class that needs to be extended to use it.
4545
const STR = 'string';
4646
const FLOAT = 0.123;
4747
}
48-
48+
4949
// different ways to instantiate an enumerator
5050
$status = UserStatus::get(UserStatus::ACTIVE);
5151
$status = UserStatus::ACTIVE();
5252
$status = UserStatus::getByName('ACTIVE');
5353
$status = UserStatus::getByOrdinal(1);
54-
54+
5555
// available methods to get the selected entry
5656
$status->getValue(); // returns the selected constant value
5757
$status->getName(); // returns the selected constant name
5858
$status->getOrdinal(); // returns the ordinal number of the selected constant
5959
(string) $status; // returns the selected constant name
60-
60+
6161
// same enumerators (of the same enumeration class) holds the same instance
6262
UserStatus::get(UserStatus::ACTIVE) === UserStatus::ACTIVE()
6363
UserStatus::get(UserStatus::DELETED) != UserStatus::INACTIVE()

0 commit comments

Comments
 (0)