From c1d0b1554158f03913969cdc1b997f4b9a5009fb Mon Sep 17 00:00:00 2001 From: Ruud Kamphuis Date: Fri, 19 Nov 2021 08:26:57 +0100 Subject: [PATCH] Make SyncPromiseAdapter compatible with webonyx master --- src/Promise/Adapter/Webonyx/GraphQL/SyncPromiseAdapter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Promise/Adapter/Webonyx/GraphQL/SyncPromiseAdapter.php b/src/Promise/Adapter/Webonyx/GraphQL/SyncPromiseAdapter.php index fc2f82a..da42184 100644 --- a/src/Promise/Adapter/Webonyx/GraphQL/SyncPromiseAdapter.php +++ b/src/Promise/Adapter/Webonyx/GraphQL/SyncPromiseAdapter.php @@ -17,12 +17,12 @@ class SyncPromiseAdapter extends BaseSyncPromiseAdapter { - protected function beforeWait(Promise $promise) + protected function beforeWait(Promise $promise): void { DataLoader::await(); } - protected function onWait(Promise $promise) + protected function onWait(Promise $promise): void { DataLoader::await(); }