diff --git a/src/PhpSpreadsheet/Style/Alignment.php b/src/PhpSpreadsheet/Style/Alignment.php index 57f72f36..b4df792b 100644 --- a/src/PhpSpreadsheet/Style/Alignment.php +++ b/src/PhpSpreadsheet/Style/Alignment.php @@ -124,6 +124,7 @@ class Alignment extends Supervisor /** * Apply styles from array. + * * * $spreadsheet->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray( * [ @@ -133,7 +134,7 @@ class Alignment extends Supervisor * 'wrapText' => TRUE * ] * ); - * . + * * * @param array $pStyles Array containing style information * diff --git a/src/PhpSpreadsheet/Style/Borders.php b/src/PhpSpreadsheet/Style/Borders.php index abe39635..a1d6759b 100644 --- a/src/PhpSpreadsheet/Style/Borders.php +++ b/src/PhpSpreadsheet/Style/Borders.php @@ -160,6 +160,7 @@ class Borders extends Supervisor /** * Apply styles from array. + * * * $spreadsheet->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray( * [ @@ -178,6 +179,7 @@ class Borders extends Supervisor * ] * ); * + * * * $spreadsheet->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray( * [ @@ -189,7 +191,7 @@ class Borders extends Supervisor * ] * ] * ); - * . + * * * @param array $pStyles Array containing style information * diff --git a/src/PhpSpreadsheet/Style/Color.php b/src/PhpSpreadsheet/Style/Color.php index 9c21d2a4..8a1812d2 100644 --- a/src/PhpSpreadsheet/Style/Color.php +++ b/src/PhpSpreadsheet/Style/Color.php @@ -86,9 +86,10 @@ class Color extends Supervisor /** * Apply styles from array. + * * * $spreadsheet->getActiveSheet()->getStyle('B2')->getFont()->getColor()->applyFromArray(['rgb' => '808080']); - * . + * * * @param array $pStyles Array containing style information * diff --git a/src/PhpSpreadsheet/Style/Fill.php b/src/PhpSpreadsheet/Style/Fill.php index 410fc2c8..c2ad895e 100644 --- a/src/PhpSpreadsheet/Style/Fill.php +++ b/src/PhpSpreadsheet/Style/Fill.php @@ -121,6 +121,7 @@ class Fill extends Supervisor /** * Apply styles from array. + * * * $spreadsheet->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray( * [ @@ -134,7 +135,7 @@ class Fill extends Supervisor * ] * ] * ); - * . + * * * @param array $pStyles Array containing style information * diff --git a/src/PhpSpreadsheet/Style/Font.php b/src/PhpSpreadsheet/Style/Font.php index c1aca19b..c470a3df 100644 --- a/src/PhpSpreadsheet/Style/Font.php +++ b/src/PhpSpreadsheet/Style/Font.php @@ -141,6 +141,7 @@ class Font extends Supervisor /** * Apply styles from array. + * * * $spreadsheet->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray( * [ diff --git a/src/PhpSpreadsheet/Style/NumberFormat.php b/src/PhpSpreadsheet/Style/NumberFormat.php index b18a97d3..8075af48 100644 --- a/src/PhpSpreadsheet/Style/NumberFormat.php +++ b/src/PhpSpreadsheet/Style/NumberFormat.php @@ -124,13 +124,14 @@ class NumberFormat extends Supervisor /** * Apply styles from array. + * * * $spreadsheet->getActiveSheet()->getStyle('B2')->getNumberFormat()->applyFromArray( * [ * 'formatCode' => NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE * ] * ); - * . + * * * @param array $pStyles Array containing style information * diff --git a/src/PhpSpreadsheet/Style/Protection.php b/src/PhpSpreadsheet/Style/Protection.php index 5f126552..b5feb534 100644 --- a/src/PhpSpreadsheet/Style/Protection.php +++ b/src/PhpSpreadsheet/Style/Protection.php @@ -72,6 +72,7 @@ class Protection extends Supervisor /** * Apply styles from array. + * * * $spreadsheet->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray( * [ diff --git a/src/PhpSpreadsheet/Worksheet/BaseDrawing.php b/src/PhpSpreadsheet/Worksheet/BaseDrawing.php index bca06e24..6489f926 100644 --- a/src/PhpSpreadsheet/Worksheet/BaseDrawing.php +++ b/src/PhpSpreadsheet/Worksheet/BaseDrawing.php @@ -365,12 +365,13 @@ class BaseDrawing implements IComparable } /** - * Set width and height with proportional resize + * Set width and height with proportional resize. + * * Example: * * $objDrawing->setResizeProportional(true); * $objDrawing->setWidthAndHeight(160,120); - * . + * * * @author Vincent@luo MSN:kele_100@hotmail.com *