Remove table by name cs fix

This commit is contained in:
aswinkumar863
2022-04-03 18:51:06 +05:30
parent feffb76944
commit 4db82032b4
+1 -1
View File
@@ -2066,7 +2066,7 @@ class Worksheet implements IComparable
*/
public function removeTableByName(string $name): self
{
foreach($this->tableCollection as $key => $table) {
foreach ($this->tableCollection as $key => $table) {
if ($table->getName() === $name) {
unset($this->tableCollection[$key]);
}