Skip to content

Commit e857630

Browse files
committed
fix slug
1 parent dced628 commit e857630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Maatwebsite/Excel/Excel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ private function getLabels()
716716
foreach ($this->row->getCellIterator() as $this->cell) {
717717

718718
// Set labels
719-
$this->labels[] = str_replace(' ', '-',strtolower($this->cell->getValue()));
719+
$this->labels[] = \Str::slug($this->cell->getValue());
720720

721721
}
722722

0 commit comments

Comments
 (0)