mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-13 19:46:31 +00:00
Remove table by name cs fix
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user