Completed
Pull Request — develop (#147)
by
unknown
20:30
created
src/PhpSpreadsheet/Reader/Xml.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -233,6 +233,9 @@  discard block
 block discarded – undo
233 233
         return $this->loadIntoExisting($pFilename, $spreadsheet);
234 234
     }
235 235
 
236
+    /**
237
+     * @param string $styleAttributeValue
238
+     */
236 239
     protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue)
237 240
     {
238 241
         $styleAttributeValue = strtolower($styleAttributeValue);
@@ -764,6 +767,9 @@  discard block
 block discarded – undo
764 767
         return $spreadsheet;
765 768
     }
766 769
 
770
+    /**
771
+     * @param string $charset
772
+     */
767 773
     protected static function convertStringEncoding($string, $charset)
768 774
     {
769 775
         if ($charset != 'UTF-8') {
@@ -773,6 +779,9 @@  discard block
 block discarded – undo
773 779
         return $string;
774 780
     }
775 781
 
782
+    /**
783
+     * @param string $is
784
+     */
776 785
     protected function parseRichText($is)
777 786
     {
778 787
         $value = new RichText();
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Font.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
      * Calculate an (approximate) OpenXML column width, based on font size and text contained.
239 239
      *
240 240
      * @param \PhpOffice\PhpSpreadsheet\Style\Font $font Font object
241
-     * @param RichText|string $cellText Text to calculate width
241
+     * @param string $cellText Text to calculate width
242 242
      * @param int $rotation Rotation angle
243 243
      * @param \PhpOffice\PhpSpreadsheet\Style\Font|null $defaultFont Font object
244 244
      *
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader12.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     }
58 58
 }
59 59
 
60
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';
60
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />';
61 61
 /*  Create a new Reader of the type defined in $inputFileType  **/
62 62
 $reader = IOFactory::createReader($inputFileType);
63 63
 
Please login to merge, or discard this patch.