Skip to content

Commit

Permalink
code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
edbizarro committed Apr 25, 2019
1 parent 7060506 commit 0c72771
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ checks:

build:
environment:
php: 7.2.0
php: 7.3.0
nodes:
analysis:
tests:
Expand Down
6 changes: 3 additions & 3 deletions src/Entities/InstagramAccounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Edbizarro\LaravelFacebookAds\Entities;

use FacebookAds\Object\AdAccount;
use FacebookAds\Object\AdAccount as FbAdAccount;
use Illuminate\Support\Collection;
use Edbizarro\LaravelFacebookAds\Traits\AdAccountFormatter;

Expand All @@ -27,7 +27,7 @@ class InstagramAccounts
public function all(array $fields = [], $accountId = 'me'): Collection
{
return $this->format(
(new AdAccount($accountId))->getInstagramAccounts($fields)
(new FbAdAccount($accountId))->getInstagramAccounts($fields)
);
}

Expand All @@ -43,7 +43,7 @@ public function all(array $fields = [], $accountId = 'me'): Collection
public function get(array $fields, $accountId)
{
return $this->format(
(new AdAccount($accountId))->read($fields)
(new FbAdAccount($accountId))->read($fields)
);
}
}

0 comments on commit 0c72771

Please sign in to comment.