提交的内容
This commit is contained in:
0
vendor/nyholm/psr7/src/Factory/HttplugFactory.php
vendored
Executable file → Normal file
0
vendor/nyholm/psr7/src/Factory/HttplugFactory.php
vendored
Executable file → Normal file
2
vendor/nyholm/psr7/src/Factory/Psr17Factory.php
vendored
Executable file → Normal file
2
vendor/nyholm/psr7/src/Factory/Psr17Factory.php
vendored
Executable file → Normal file
@ -57,7 +57,7 @@ class Psr17Factory implements RequestFactoryInterface, ResponseFactoryInterface,
|
||||
return Stream::create($resource);
|
||||
}
|
||||
|
||||
public function createUploadedFile(StreamInterface $stream, int $size = null, int $error = \UPLOAD_ERR_OK, string $clientFilename = null, string $clientMediaType = null): UploadedFileInterface
|
||||
public function createUploadedFile(StreamInterface $stream, ?int $size = null, int $error = \UPLOAD_ERR_OK, ?string $clientFilename = null, ?string $clientMediaType = null): UploadedFileInterface
|
||||
{
|
||||
if (null === $size) {
|
||||
$size = $stream->getSize();
|
||||
|
||||
Reference in New Issue
Block a user