Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Fix return types #185

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Laravelium/Sitemap/Sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function __construct(array $config, CacheRepository $cache, ConfigReposit
* Set cache options.
*
* @param string $key
* @param Carbon|Datetime|int $duration
* @param \Carbon\Carbon|Datetime|int $duration
* @param bool $useCache
*/
public function setCache($key = null, $duration = null, $useCache = true)
Expand Down Expand Up @@ -310,7 +310,7 @@ public function resetSitemaps($sitemaps = [])
* @param string $format (options: xml, html, txt, ror-rss, ror-rdf, google-news)
* @param string $style (path to custom xls style like '/styles/xsl/xml-sitemap.xsl')
*
* @return View
* @return \Illuminate\Http\Response
*/
public function render($format = 'xml', $style = null)
{
Expand Down