Skip to content

Commit

Permalink
Merge pull request #21 from ua0leg/master
Browse files Browse the repository at this point in the history
ExcelWorkbook::count() type int
  • Loading branch information
svrnm authored Jul 10, 2024
2 parents cc3511c + 8d4acfa commit 5a8938a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Svrnm/ExcelDataTables/ExcelWorkbook.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function isAutoSaveEnabled() {
*
* @return int
*/
public function count() {
public function count(): int {
$sheets = $this->getWorkbook()->getElementsByTagName('sheet');
return $sheets->length;

Expand Down

0 comments on commit 5a8938a

Please sign in to comment.