From 9e775db02567d3b90694ebb43f0225875a48e8c9 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 13 Jan 2020 17:06:26 +0100 Subject: Define Stringable with __toString():string method --- Zend/zend_interfaces.stub.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Zend/zend_interfaces.stub.php') 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; +} -- cgit v1.2.1