PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/google/psr/http-message/src/UploadedFileInterface.php +7 -7 1.0.21.4.1 View file →
@@ -1,7 +1,7 @@
1 1 <?php
2 2
3 -namespace Dudlewebs\WPMCS\Psr\Http\Message;
3 +namespace Dudlewebs\WPMCS\GCP\Psr\Http\Message;
4 4
5 5 /**
6 6 * Value object representing a file uploaded through an HTTP request.
7 7 *
@@ -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(): StreamInterface;
31 + public function getStream() : StreamInterface;
32 32 /**
33 33 * Move the uploaded file to a new location.
34 34 *
35 35 * Use this method as an alternative to move_uploaded_file(). This method is
@@ -60,9 +60,9 @@
60 60 * @throws \InvalidArgumentException if the $targetPath specified is invalid.
61 61 * @throws \RuntimeException on any error during the move operation, or on
62 62 * the second or subsequent call to the method.
63 63 */
64 - public function moveTo(string $targetPath): void;
64 + public function moveTo(string $targetPath) : void;
65 65 /**
66 66 * Retrieve the file size.
67 67 *
68 68 * Implementations SHOULD return the value stored in the "size" key of
@@ -70,9 +70,9 @@
70 70 * on the actual size transmitted.
71 71 *
72 72 * @return int|null The file size in bytes or null if unknown.
73 73 */
74 - public function getSize(): ?int;
74 + public function getSize() : ?int;
75 75 /**
76 76 * Retrieve the error associated with the uploaded file.
77 77 *
78 78 * The return value MUST be one of PHP's UPLOAD_ERR_XXX constants.
@@ -85,9 +85,9 @@
85 85 *
86 86 * @see http://php.net/manual/en/features.file-upload.errors.php
87 87 * @return int One of PHP's UPLOAD_ERR_XXX constants.
88 88 */
89 - public function getError(): int;
89 + public function getError() : int;
90 90 /**
91 91 * Retrieve the filename sent by the client.
92 92 *
93 93 * Do not trust the value returned by this method. A client could send
@@ -99,9 +99,9 @@
99 99 *
100 100 * @return string|null The filename sent by the client or null if none
101 101 * was provided.
102 102 */
103 - public function getClientFilename(): ?string;
103 + public function getClientFilename() : ?string;
104 104 /**
105 105 * Retrieve the media type sent by the client.
106 106 *
107 107 * Do not trust the value returned by this method. A client could send
@@ -113,6 +113,6 @@
113 113 *
114 114 * @return string|null The media type sent by the client or null if none
115 115 * was provided.
116 116 */
117 - public function getClientMediaType(): ?string;
117 + public function getClientMediaType() : ?string;
118 118 }