update to PHP-8.1
[m6w6/seekat] / tests / ContentTypeTest.php
index 3945245d0ff50af33fc62e9c7460d5caacc52317..df6e8fae11ce86d344f12e0ae32d04e06103da0f 100644 (file)
@@ -48,7 +48,7 @@ class ContentTypeTest extends BaseTest
                        function encode($data): Body {
                                return new Body;
                        }
-                       function decode(Body $body) {
+                       function decode(Body $body) : string {
                                return (string) $body;
                        }
                });