Bug
Hi, I install the lib with composer on my plesk server
But actually in test mode, I ve got error
AH01071: Got error 'PHP message: PHP Fatal error: Declaration of Stancer\Http\Stream::close() must be compatible with Psr\Http\Message\StreamInterface::close(): void in /var/www/vhosts/netzen.fr/httpdocs/include/stancer/src/Http/Stream.php on line 66'
Here is the demo code
//Config
config = Stancer\Config::init([stancer_test_key1, $stancer_test_key2]);
$config->setMode(Stancer\Config::TEST_MODE);
$customer = new Stancer\Customer(); $customer->setEmail('david@example.net'); $customer->setMobile('+33639980102'); $customer->setName('David Coaster'); $customer->send();
What can I do ? Regards