Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Edujugon committed Jun 29, 2017
2 parents e99b182 + 178a612 commit 4810161
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/GoogleAds.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function report()
*/
public function showReportTypes()
{
return ReportTypes::list();
return ReportTypes::getList();
}

/**
Expand All @@ -174,7 +174,7 @@ public function showReportTypes()
*/
public function showReportFormats()
{
return Format::list();
return Format::getList();
}

/////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion src/Reports/Fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function asQuerySelector(){
*/
public function reportTypes()
{
return ReportTypes::list();
return ReportTypes::getList();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Reports/Format.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static function asObj()
*
* @return array
*/
public static function list()
public static function getList()
{
return array_values(static::loadConstants());
}
Expand Down
4 changes: 2 additions & 2 deletions src/Reports/Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ private function querify(array $data)
*/
public function getTypes()
{
return ReportTypes::list();
return ReportTypes::getList();
}

/**
Expand All @@ -364,7 +364,7 @@ public function getFields()
*/
public function getFormats()
{
return Format::list();
return Format::getList();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Reports/ReportTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static function asObj()
*
* @return array
*/
public static function list()
public static function getList()
{
return array_values(static::loadConstants());
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ReportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function report_fields()
/** @test */
public function format()
{
$this->assertInternalType('array',\Edujugon\GoogleAds\Reports\Format::list());
$this->assertInternalType('array',\Edujugon\GoogleAds\Reports\Format::getList());
$this->assertEquals('CSV',\Edujugon\GoogleAds\Reports\Format::get('csv'));
}

Expand Down

0 comments on commit 4810161

Please sign in to comment.