summaryrefslogtreecommitdiffstats
path: root/vendor/myclabs/php-enum/stubs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/myclabs/php-enum/stubs/Stringable.php11
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();
+ }
+}