Skip to content

Commit f58724a

Browse files
committed
Fix code style
1 parent ae1ec5f commit f58724a

File tree

8 files changed

+16
-7
lines changed

8 files changed

+16
-7
lines changed

src/PhpSpreadsheet/Style/Alignment.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public function getStyleArray($array)
124124

125125
/**
126126
* Apply styles from array.
127+
*
127128
* <code>
128129
* $spreadsheet->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray(
129130
* [
@@ -133,7 +134,7 @@ public function getStyleArray($array)
133134
* 'wrapText' => TRUE
134135
* ]
135136
* );
136-
* </code>.
137+
* </code>
137138
*
138139
* @param array $pStyles Array containing style information
139140
*

src/PhpSpreadsheet/Style/Borders.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ public function getStyleArray($array)
160160

161161
/**
162162
* Apply styles from array.
163+
*
163164
* <code>
164165
* $spreadsheet->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray(
165166
* [
@@ -178,6 +179,7 @@ public function getStyleArray($array)
178179
* ]
179180
* );
180181
* </code>
182+
*
181183
* <code>
182184
* $spreadsheet->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray(
183185
* [
@@ -189,7 +191,7 @@ public function getStyleArray($array)
189191
* ]
190192
* ]
191193
* );
192-
* </code>.
194+
* </code>
193195
*
194196
* @param array $pStyles Array containing style information
195197
*

src/PhpSpreadsheet/Style/Color.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ public function getStyleArray($array)
8686

8787
/**
8888
* Apply styles from array.
89+
*
8990
* <code>
9091
* $spreadsheet->getActiveSheet()->getStyle('B2')->getFont()->getColor()->applyFromArray(['rgb' => '808080']);
91-
* </code>.
92+
* </code>
9293
*
9394
* @param array $pStyles Array containing style information
9495
*

src/PhpSpreadsheet/Style/Fill.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public function getStyleArray($array)
121121

122122
/**
123123
* Apply styles from array.
124+
*
124125
* <code>
125126
* $spreadsheet->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray(
126127
* [
@@ -134,7 +135,7 @@ public function getStyleArray($array)
134135
* ]
135136
* ]
136137
* );
137-
* </code>.
138+
* </code>
138139
*
139140
* @param array $pStyles Array containing style information
140141
*

src/PhpSpreadsheet/Style/Font.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ public function getStyleArray($array)
141141

142142
/**
143143
* Apply styles from array.
144+
*
144145
* <code>
145146
* $spreadsheet->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray(
146147
* [

src/PhpSpreadsheet/Style/NumberFormat.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,14 @@ public function getStyleArray($array)
124124

125125
/**
126126
* Apply styles from array.
127+
*
127128
* <code>
128129
* $spreadsheet->getActiveSheet()->getStyle('B2')->getNumberFormat()->applyFromArray(
129130
* [
130131
* 'formatCode' => NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE
131132
* ]
132133
* );
133-
* </code>.
134+
* </code>
134135
*
135136
* @param array $pStyles Array containing style information
136137
*

src/PhpSpreadsheet/Style/Protection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public function getStyleArray($array)
7272

7373
/**
7474
* Apply styles from array.
75+
*
7576
* <code>
7677
* $spreadsheet->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray(
7778
* [

src/PhpSpreadsheet/Worksheet/BaseDrawing.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,12 +365,13 @@ public function setHeight($pValue)
365365
}
366366

367367
/**
368-
* Set width and height with proportional resize
368+
* Set width and height with proportional resize.
369+
*
369370
* Example:
370371
* <code>
371372
* $objDrawing->setResizeProportional(true);
372373
* $objDrawing->setWidthAndHeight(160,120);
373-
* </code>.
374+
* </code>
374375
*
375376
* @author Vincent@luo MSN:kele_100@hotmail.com
376377
*

0 commit comments

Comments
 (0)