File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Aws/tests/Integration Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ public function testRejectsSafelyWithNonStringableObject()
255255 $ this ->awsSdkInstrumentation ->init ();
256256 $ this ->awsSdkInstrumentation ->activate ();
257257
258- $ kmsClient ->getHandlerList ()->appendSign (function (callable $ handler ) {
259- return function () use ( $ handler ) {
258+ $ kmsClient ->getHandlerList ()->appendSign (function () {
259+ return function () {
260260 return Promise \Create::rejectionFor (new stdClass ());
261261 };
262262 });
@@ -287,8 +287,8 @@ public function testRejectsSafelyWithString()
287287 $ this ->awsSdkInstrumentation ->init ();
288288 $ this ->awsSdkInstrumentation ->activate ();
289289
290- $ kmsClient ->getHandlerList ()->appendSign (function (callable $ handler ) {
291- return function () use ( $ handler ) {
290+ $ kmsClient ->getHandlerList ()->appendSign (function () {
291+ return function () {
292292 return Promise \Create::rejectionFor ('failed ' );
293293 };
294294 });
You can’t perform that action at this time.
0 commit comments