Completed
Pull Request — develop (#120)
by Gabriel
19:34
created
src/PhpSpreadsheet/Reader/Xls/MD5.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -187,6 +187,11 @@
 block discarded – undo
187 187
         return $Y ^ ($X | (~$Z)); // Y XOR (X OR NOT Z)
188 188
     }
189 189
 
190
+    /**
191
+     * @param string[] $func
192
+     * @param integer $s
193
+     * @param integer $t
194
+     */
190 195
     private static function step($func, &$A, $B, $C, $D, $M, $s, $t)
191 196
     {
192 197
         $A = ($A + call_user_func($func, $B, $C, $D) + $M + $t) & 0xffffffff;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Xml.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -230,6 +230,9 @@  discard block
 block discarded – undo
230 230
         return $this->loadIntoExisting($pFilename, $spreadsheet);
231 231
     }
232 232
 
233
+    /**
234
+     * @param string $styleAttributeValue
235
+     */
233 236
     protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue)
234 237
     {
235 238
         $styleAttributeValue = strtolower($styleAttributeValue);
@@ -761,6 +764,9 @@  discard block
 block discarded – undo
761 764
         return $spreadsheet;
762 765
     }
763 766
 
767
+    /**
768
+     * @param string $charset
769
+     */
764 770
     protected static function convertStringEncoding($string, $charset)
765 771
     {
766 772
         if ($charset != 'UTF-8') {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLERead.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     /**
70 70
      * Read the file.
71 71
      *
72
-     * @param $pFilename string Filename
72
+     * @param string $pFilename string Filename
73 73
      *
74 74
      * @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
75 75
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     /**
148 148
      * Get parent. Only used for style supervisor.
149 149
      *
150
-     * @return Spreadsheet
150
+     * @return Style
151 151
      */
152 152
     public function getParent()
153 153
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style/Fill.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
     /**
233 233
      * Set Rotation.
234 234
      *
235
-     * @param float $pValue
235
+     * @param integer $pValue
236 236
      *
237 237
      * @return Fill
238 238
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style/Font.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@
 block discarded – undo
272 272
     /**
273 273
      * Set Size.
274 274
      *
275
-     * @param float $pValue
275
+     * @param integer $pValue
276 276
      *
277 277
      * @return Font
278 278
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/ColumnDimension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     /**
101 101
      * Set Width.
102 102
      *
103
-     * @param float $pValue
103
+     * @param integer $pValue
104 104
      *
105 105
      * @return ColumnDimension
106 106
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/RowDimension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     /**
101 101
      * Set Row Height.
102 102
      *
103
-     * @param float $pValue
103
+     * @param integer $pValue
104 104
      *
105 105
      * @return RowDimension
106 106
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Html.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1165,7 +1165,7 @@
 block discarded – undo
1165 1165
      * @param \PhpOffice\PhpSpreadsheet\Worksheet $pSheet \PhpOffice\PhpSpreadsheet\Worksheet
1166 1166
      * @param array $pValues Array containing cells in a row
1167 1167
      * @param int $pRow Row number (0-based)
1168
-     * @param mixed $cellType
1168
+     * @param string $cellType
1169 1169
      *
1170 1170
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
1171 1171
      *
Please login to merge, or discard this patch.