Skip to content

Commit c8c47a4

Browse files
committed
Fix Usage doc
1 parent 10459b6 commit c8c47a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ function get_sitemap_links()
114114
$result = execute_unbuffered_query();
115115

116116
while ($link = $result->fetch()) {
117-
yield [$link->url, $link->lastModified];
117+
yield [
118+
'url' => $link->url,
119+
'lastmod' => $link->lastModified,
120+
];
118121
}
119122
}
120123
```

0 commit comments

Comments
 (0)