Skip to content

Commit 2bdbebf

Browse files
committed
refactor: add static return type to withFiles() (#7987)
1 parent ea6fa7e commit 2bdbebf

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎system/Test/FeatureTestTrait.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,8 @@ public function withBody($body)
165165
* Sets uploaded files for the next request.
166166
*
167167
* @param array<string, array<array-key, UploadedFile>|UploadedFile> $files
168-
*
169-
* @return $this
170168
*/
171-
public function withFiles(array $files)
169+
public function withFiles(array $files): static
172170
{
173171
$this->uploadedFiles = $files;
174172

0 commit comments

Comments
 (0)