File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 2929 "autoload" : {
3030 "psr-4" : {
3131 "MabeEnum\\ " : " src/"
32- }
32+ },
33+ "classmap" : [
34+ " stubs/Stringable.php"
35+ ]
3336 },
3437 "autoload-dev" : {
3538 "psr-4" : {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<psalm
3- totallyTyped =" true"
43 errorLevel =" 1"
54 resolveFromConfigFile =" true"
65 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
Original file line number Diff line number Diff line change 1717 *
1818 * @psalm-immutable
1919 */
20- abstract class Enum
20+ abstract class Enum implements \Stringable
2121{
2222 /**
2323 * The selected enumerator value
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ if (\PHP_VERSION_ID < 80000 ) {
4+ interface Stringable
5+ {
6+ /**
7+ * @return string
8+ */
9+ public function __toString ();
10+ }
11+ }
You can’t perform that action at this time.
0 commit comments