Skip to content

Commit 0a04c5b

Browse files
Merge pull request #6 from TheDragonCode/1.x
Added missing extension for feed file generation
2 parents 41ad25a + 952bae2 commit 0a04c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Feed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function rootItem(): ?string
4848

4949
public function filename(): string
5050
{
51-
return $this->filename ??= Str::kebab(class_basename($this));
51+
return $this->filename ??= Str::kebab(class_basename($this)) . '.xml';
5252
}
5353

5454
public function path(): string

0 commit comments

Comments
 (0)