summaryrefslogtreecommitdiff
path: root/Zend/zend_interfaces.stub.php
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2020-01-13 17:06:26 +0100
committerNicolas Grekas <nicolas.grekas@gmail.com>2020-03-02 15:25:32 +0100
commit9e775db02567d3b90694ebb43f0225875a48e8c9 (patch)
treecd25ebdb5e735ca322eded189b156619a4b43534 /Zend/zend_interfaces.stub.php
parentc06850b9fa1b6dc8f4f8a46d6d0ea55e8baf7cbf (diff)
downloadphp-git-9e775db02567d3b90694ebb43f0225875a48e8c9.tar.gz
Define Stringable with __toString():string method
Diffstat (limited to 'Zend/zend_interfaces.stub.php')
-rw-r--r--Zend/zend_interfaces.stub.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zend/zend_interfaces.stub.php b/Zend/zend_interfaces.stub.php
index 882a21e600..3a908212a4 100644
--- a/Zend/zend_interfaces.stub.php
+++ b/Zend/zend_interfaces.stub.php
@@ -49,3 +49,8 @@ interface Countable
/** @return int */
function count();
}
+
+interface Stringable
+{
+ function __toString(): string;
+}