@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | * |
| 66 | 66 | * @param bool $status |
| 67 | 67 | * |
| 68 | - * @return bool |
|
| 68 | + * @return SitemapStyler |
|
| 69 | 69 | */ |
| 70 | 70 | public function setEnabled($status) |
| 71 | 71 | { |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | /** |
| 123 | 123 | * Enable the sitemap styles. |
| 124 | 124 | * |
| 125 | - * @return bool |
|
| 125 | + * @return SitemapStyler |
|
| 126 | 126 | */ |
| 127 | 127 | public function enable() |
| 128 | 128 | { |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | /** |
| 133 | 133 | * Disable the sitemap styles. |
| 134 | 134 | * |
| 135 | - * @return bool |
|
| 135 | + * @return SitemapStyler |
|
| 136 | 136 | */ |
| 137 | 137 | public function disable() |
| 138 | 138 | { |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | /** |
| 270 | 270 | * Get the max size value. |
| 271 | 271 | * |
| 272 | - * @return int |
|
| 272 | + * @return boolean |
|
| 273 | 273 | */ |
| 274 | 274 | public function getMaxSize() |
| 275 | 275 | { |
@@ -542,7 +542,7 @@ discard block |
||
| 542 | 542 | * @param string $format (options: xml, html, txt, ror-rss, ror-rdf, sitemapindex, google-news) |
| 543 | 543 | * @param string|null $style (path to custom xls style like '/styles/xsl/xml-sitemap.xsl') |
| 544 | 544 | * |
| 545 | - * @return array |
|
| 545 | + * @return string |
|
| 546 | 546 | */ |
| 547 | 547 | public function generate($format = 'xml', $style = null) |
| 548 | 548 | { |
@@ -610,7 +610,7 @@ discard block |
||
| 610 | 610 | * @param string $path (path to store sitemap like '/www/site/public') |
| 611 | 611 | * @param string $style (path to custom xls style like '/styles/xsl/xml-sitemap.xsl') |
| 612 | 612 | * |
| 613 | - * @return bool |
|
| 613 | + * @return integer |
|
| 614 | 614 | */ |
| 615 | 615 | public function store($format = 'xml', $filename = 'sitemap', $path = null, $style = null) |
| 616 | 616 | { |