Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Fix @return annotations in Report_Googleanalytics
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdobrev committed May 4, 2017
1 parent a19e7e8 commit ad29fcb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions classes/Kohana/Report.php
Expand Up @@ -42,7 +42,7 @@ function __construct()
* Set the timerange start date, defaults to 1 month ago. Normalizes the date to Y-m-d H:i:s
*
* @param string $start_date
* @return string
* @return string|$this
*/
public function start_date($start_date = NULL)
{
Expand All @@ -60,7 +60,7 @@ public function start_date($start_date = NULL)
* Set the timerange end date, defaults to today. Normalizes the date to Y-m-d H:i:s
*
* @param string $end_date
* @return string
* @return string|$this
*/
public function end_date($end_date = NULL)
{
Expand Down
16 changes: 8 additions & 8 deletions classes/Kohana/Report/Googleanalytics.php
Expand Up @@ -51,7 +51,7 @@ public function request_params()

/**
* Return the project_id set in the config or set it for this report
* @return string
* @return string|$this
*/
public function project_id($project_id = NULL)
{
Expand Down Expand Up @@ -136,7 +136,7 @@ public function total()
*
* @link https://developers.google.com/analytics/devguides/reporting/core/v3/reference#maxResults
* @param string $max_results
* @return string|Report_GoogleAnalytics
* @return string|$this
*/
public function max_results($max_results = NULL)
{
Expand All @@ -154,7 +154,7 @@ public function max_results($max_results = NULL)
*
* @link https://developers.google.com/analytics/devguides/reporting/core/v3/reference#dimensions
* @param string $dimensions
* @return string|Report_GoogleAnalytics
* @return string|$this
*/
public function dimensions($dimensions = NULL)
{
Expand All @@ -172,7 +172,7 @@ public function dimensions($dimensions = NULL)
*
* @link https://developers.google.com/analytics/devguides/reporting/core/v3/reference#metrics
* @param string $metrics
* @return string|Report_GoogleAnalytics
* @return string|$this
*/
public function metrics($metrics = NULL)
{
Expand All @@ -190,7 +190,7 @@ public function metrics($metrics = NULL)
*
* @link https://developers.google.com/analytics/devguides/reporting/core/v3/reference#sort
* @param string $sort
* @return string|Report_GoogleAnalytics
* @return string|$this
*/
public function sort($sort = NULL)
{
Expand All @@ -208,7 +208,7 @@ public function sort($sort = NULL)
*
* @link https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters
* @param string $filters
* @return string|Report_GoogleAnalytics
* @return string|$this
*/
public function filters($filters = NULL)
{
Expand All @@ -226,7 +226,7 @@ public function filters($filters = NULL)
*
* @link https://developers.google.com/analytics/devguides/reporting/core/v3/reference#segment
* @param string $segment
* @return string|Report_GoogleAnalytics
* @return string|$this
*/
public function segment($segment = NULL)
{
Expand All @@ -244,7 +244,7 @@ public function segment($segment = NULL)
*
* @link https://developers.google.com/analytics/devguides/reporting/core/v3/reference#startIndex
* @param string $start_index
* @return string|Report_GoogleAnalytics
* @return string|$this
*/
public function start_index($start_index = NULL)
{
Expand Down

0 comments on commit ad29fcb

Please sign in to comment.