diff options
Diffstat (limited to 'vendor/myclabs/php-enum/stubs/Stringable.php')
-rw-r--r-- | vendor/myclabs/php-enum/stubs/Stringable.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/myclabs/php-enum/stubs/Stringable.php b/vendor/myclabs/php-enum/stubs/Stringable.php new file mode 100644 index 0000000..cf05862 --- /dev/null +++ b/vendor/myclabs/php-enum/stubs/Stringable.php @@ -0,0 +1,11 @@ +<?php
+
+if (\PHP_VERSION_ID < 80000 && !interface_exists('Stringable')) {
+ interface Stringable
+ {
+ /**
+ * @return string
+ */
+ public function __toString();
+ }
+}
|