Completed
Push — master ( 772697...1ce484 )
by Tobias
03:14
created
src/UploadedFile.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -124,11 +124,17 @@  discard block
 block discarded – undo
124 124
         return in_array(gettype($param), ['string', 'NULL']);
125 125
     }
126 126
 
127
+    /**
128
+     * @param string $param
129
+     */
127 130
     private function isStringNotEmpty($param): bool
128 131
     {
129 132
         return is_string($param) && false === empty($param);
130 133
     }
131 134
 
135
+    /**
136
+     * @param string|null $clientFilename
137
+     */
132 138
     private function setClientFilename($clientFilename): void
133 139
     {
134 140
         if (false === $this->isStringOrNull($clientFilename)) {
@@ -138,6 +144,9 @@  discard block
 block discarded – undo
138 144
         $this->clientFilename = $clientFilename;
139 145
     }
140 146
 
147
+    /**
148
+     * @param string|null $clientMediaType
149
+     */
141 150
     private function setClientMediaType($clientMediaType): void
142 151
     {
143 152
         if (false === $this->isStringOrNull($clientMediaType)) {
Please login to merge, or discard this patch.