PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | vendor/psr/http-message/src/UploadedFileInterface.php +6 -6 3.1.0 → 6.3.0 View file →
@@ -27,9 +27,9 @@
27 27 * @return StreamInterface Stream representation of the uploaded file.
28 28 * @throws \RuntimeException in cases when no stream is available or can be
29 29 * created.
30 30 */
31 - public function getStream();
31 + public function getStream(): StreamInterface;
32 32
33 33 /**
34 34 * Move the uploaded file to a new location.
35 35 *
@@ -61,9 +61,9 @@
61 61 * @throws \InvalidArgumentException if the $targetPath specified is invalid.
62 62 * @throws \RuntimeException on any error during the move operation, or on
63 63 * the second or subsequent call to the method.
64 64 */
65 - public function moveTo($targetPath);
65 + public function moveTo(string $targetPath): void;
66 66
67 67 /**
68 68 * Retrieve the file size.
69 69 *
@@ -72,9 +72,9 @@
72 72 * on the actual size transmitted.
73 73 *
74 74 * @return int|null The file size in bytes or null if unknown.
75 75 */
76 - public function getSize();
76 + public function getSize(): ?int;
77 77
78 78 /**
79 79 * Retrieve the error associated with the uploaded file.
80 80 *
@@ -88,9 +88,9 @@
88 88 *
89 89 * @see http://php.net/manual/en/features.file-upload.errors.php
90 90 * @return int One of PHP's UPLOAD_ERR_XXX constants.
91 91 */
92 - public function getError();
92 + public function getError(): int;
93 93
94 94 /**
95 95 * Retrieve the filename sent by the client.
96 96 *
@@ -103,9 +103,9 @@
103 103 *
104 104 * @return string|null The filename sent by the client or null if none
105 105 * was provided.
106 106 */
107 - public function getClientFilename();
107 + public function getClientFilename(): ?string;
108 108
109 109 /**
110 110 * Retrieve the media type sent by the client.
111 111 *
@@ -118,6 +118,6 @@
118 118 *
119 119 * @return string|null The media type sent by the client or null if none
120 120 * was provided.
121 121 */
122 - public function getClientMediaType();
122 + public function getClientMediaType(): ?string;
123 123 }