Skip to content

Commit

Permalink
Change method name & Examples update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonichaos360 committed Jun 28, 2021
1 parent 4c9e74e commit 09853c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $xls
//Set Columns range
->setRange(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'])
//Set Columns width
->setColumnWidth(['25', '35', '35', '35', '35', '35', '35', '35', '35']);
->setColumnsWidth(['25', '35', '35', '35', '35', '35', '35', '35', '35']);

//Start Sheet
$xls->startSheet();
Expand Down
2 changes: 1 addition & 1 deletion examples/SimpleSheet/simplesheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
//Set Columns range
->setRange(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'])
//Set Columns width
->setColumnWidth(['25', '35', '35', '35', '35', '35', '35', '35', '35']);
->setColumnsWidth(['25', '35', '35', '35', '35', '35', '35', '35', '35']);

//Start Sheet
$xls->startSheet();
Expand Down
2 changes: 1 addition & 1 deletion src/PHPSimpleSpreadsheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public function clean($str)
*
* @return void
*/
public function setColumnWidth($cols)
public function setColumnsWidth($cols)
{
$i = 1;
$this->columnsWidth .= '<cols>';
Expand Down

0 comments on commit 09853c0

Please sign in to comment.