diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2020-01-13 17:06:26 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2020-03-02 15:25:32 +0100 |
commit | 9e775db02567d3b90694ebb43f0225875a48e8c9 (patch) | |
tree | cd25ebdb5e735ca322eded189b156619a4b43534 /Zend/zend_interfaces.stub.php | |
parent | c06850b9fa1b6dc8f4f8a46d6d0ea55e8baf7cbf (diff) | |
download | php-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.php | 5 |
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; +} |