Skip to content

Commit 452237f

Browse files
Fix
1 parent 9237365 commit 452237f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public function resolveOnceProps(Request $request): array
388388
? App::call($this->oncePropsResolver, ['request' => $request])
389389
: [];
390390

391-
return ['onceProps' => $onceProps];
391+
return empty($onceProps) ? ['onceProps' => $onceProps] : [];
392392
}
393393

394394
/**

0 commit comments

Comments
 (0)