Completed
Push — master ( 3a471b...f724e5 )
by Tobias
02:11
created
src/UploadedFile.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@  discard block
 block discarded – undo
87 87
         }
88 88
     }
89 89
 
90
+    /**
91
+     * @param integer $error
92
+     */
90 93
     private function setError($error): void
91 94
     {
92 95
         if (false === is_int($error)) {
@@ -100,6 +103,9 @@  discard block
 block discarded – undo
100 103
         $this->error = $error;
101 104
     }
102 105
 
106
+    /**
107
+     * @param integer $size
108
+     */
103 109
     private function setSize($size): void
104 110
     {
105 111
         if (false === is_int($size)) {
@@ -114,11 +120,17 @@  discard block
 block discarded – undo
114 120
         return in_array(gettype($param), ['string', 'NULL']);
115 121
     }
116 122
 
123
+    /**
124
+     * @param string $param
125
+     */
117 126
     private function isStringNotEmpty($param): bool
118 127
     {
119 128
         return is_string($param) && false === empty($param);
120 129
     }
121 130
 
131
+    /**
132
+     * @param string|null $clientFilename
133
+     */
122 134
     private function setClientFilename($clientFilename): void
123 135
     {
124 136
         if (false === $this->isStringOrNull($clientFilename)) {
@@ -128,6 +140,9 @@  discard block
 block discarded – undo
128 140
         $this->clientFilename = $clientFilename;
129 141
     }
130 142
 
143
+    /**
144
+     * @param string|null $clientMediaType
145
+     */
131 146
     private function setClientMediaType($clientMediaType): void
132 147
     {
133 148
         if (false === $this->isStringOrNull($clientMediaType)) {
Please login to merge, or discard this patch.