Fix #120 test failing with 8.1.0RC1 121/head
authorRemi Collet <remi@remirepo.net>
Wed, 1 Sep 2021 09:59:31 +0000 (11:59 +0200)
committerRemi Collet <remi@remirepo.net>
Wed, 1 Sep 2021 09:59:31 +0000 (11:59 +0200)
tests/client012.phpt

index 0e72628b64277d4280099d6442ab08ac7bce4ced..5dd15133dea9179e483db8bfe1efb9050cd7c172 100644 (file)
@@ -26,6 +26,8 @@ var_dump(
 
 $client->attach($observer = new class implements SplObserver { 
        public $data = [];
+
+       #[ReturnTypeWillChange]
        function update(SplSubject $client, $req = null, $progress = null) {
                $ti = $client->getTransferInfo($req);
                if (isset($ti->tls_session["internals"])) {