提交的内容
This commit is contained in:
0
vendor/psr/http-factory/src/RequestFactoryInterface.php
vendored
Executable file → Normal file
0
vendor/psr/http-factory/src/RequestFactoryInterface.php
vendored
Executable file → Normal file
0
vendor/psr/http-factory/src/ResponseFactoryInterface.php
vendored
Executable file → Normal file
0
vendor/psr/http-factory/src/ResponseFactoryInterface.php
vendored
Executable file → Normal file
0
vendor/psr/http-factory/src/ServerRequestFactoryInterface.php
vendored
Executable file → Normal file
0
vendor/psr/http-factory/src/ServerRequestFactoryInterface.php
vendored
Executable file → Normal file
0
vendor/psr/http-factory/src/StreamFactoryInterface.php
vendored
Executable file → Normal file
0
vendor/psr/http-factory/src/StreamFactoryInterface.php
vendored
Executable file → Normal file
12
vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
vendored
Executable file → Normal file
12
vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
vendored
Executable file → Normal file
@ -15,10 +15,10 @@ interface UploadedFileFactoryInterface
|
||||
*
|
||||
* @param StreamInterface $stream Underlying stream representing the
|
||||
* uploaded file content.
|
||||
* @param int $size in bytes
|
||||
* @param int|null $size in bytes
|
||||
* @param int $error PHP file upload error
|
||||
* @param string $clientFilename Filename as provided by the client, if any.
|
||||
* @param string $clientMediaType Media type as provided by the client, if any.
|
||||
* @param string|null $clientFilename Filename as provided by the client, if any.
|
||||
* @param string|null $clientMediaType Media type as provided by the client, if any.
|
||||
*
|
||||
* @return UploadedFileInterface
|
||||
*
|
||||
@ -26,9 +26,9 @@ interface UploadedFileFactoryInterface
|
||||
*/
|
||||
public function createUploadedFile(
|
||||
StreamInterface $stream,
|
||||
int $size = null,
|
||||
?int $size = null,
|
||||
int $error = \UPLOAD_ERR_OK,
|
||||
string $clientFilename = null,
|
||||
string $clientMediaType = null
|
||||
?string $clientFilename = null,
|
||||
?string $clientMediaType = null
|
||||
): UploadedFileInterface;
|
||||
}
|
||||
|
||||
0
vendor/psr/http-factory/src/UriFactoryInterface.php
vendored
Executable file → Normal file
0
vendor/psr/http-factory/src/UriFactoryInterface.php
vendored
Executable file → Normal file
Reference in New Issue
Block a user