Skip to content

Commit

Permalink
php cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
edbizarro committed Jul 18, 2019
1 parent ee44c0f commit 8fb13b6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/AbstractFacebookAds.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Edbizarro\LaravelFacebookAds;

use FacebookAds\Api;
use Edbizarro\LaravelFacebookAds\Contracts\LaravelFacebookAdsContract;
use Illuminate\Support\Traits\Macroable;
use Edbizarro\LaravelFacebookAds\Contracts\LaravelFacebookAdsContract;

/**
* Class AbstractFacebookAds.
Expand Down
1 change: 1 addition & 0 deletions src/Entities/InstagramAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class InstagramAccount extends AbstractEntity
public function ads(array $fields = []): Collection
{
$ads = $this->response->getAds($fields);

return $this->format($ads);
}
}
2 changes: 1 addition & 1 deletion src/Entities/InstagramAccounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Edbizarro\LaravelFacebookAds\Entities;

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

/**
Expand Down
2 changes: 1 addition & 1 deletion src/FacebookAds.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Edbizarro\LaravelFacebookAds;

use Edbizarro\LaravelFacebookAds\Entities\InstagramAccounts;
use Illuminate\Support\Traits\Macroable;
use Edbizarro\LaravelFacebookAds\Entities\Campaigns;
use Edbizarro\LaravelFacebookAds\Entities\AdAccounts;
use Edbizarro\LaravelFacebookAds\Entities\InstagramAccounts;

class FacebookAds extends AbstractFacebookAds
{
Expand Down
12 changes: 6 additions & 6 deletions src/Providers/LaravelFacebookServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Edbizarro\LaravelFacebookAds\Providers;

use Edbizarro\LaravelFacebookAds\Contracts\LaravelFacebookAdsContract;
use Edbizarro\LaravelFacebookAds\FacebookAds;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Str;
use Illuminate\Support\ServiceProvider;
use Edbizarro\LaravelFacebookAds\FacebookAds;
use Edbizarro\LaravelFacebookAds\Contracts\LaravelFacebookAdsContract;

/**
* Class LaravelFacebookServiceProvider.
Expand All @@ -30,7 +30,7 @@ public function boot(): void
public function register()
{
$this->mergeConfigFrom(
__DIR__ . '/../../config/facebook-ads.php',
__DIR__.'/../../config/facebook-ads.php',
'facebook-ads'
);

Expand All @@ -47,13 +47,13 @@ protected function registerPublishing(): void
{
if ($this->isLumen() === false) {
$this->publishes([
__DIR__ . '/../../config/facebook-ads.php' => config_path('facebook-ads.php'),
__DIR__.'/../../config/facebook-ads.php' => config_path('facebook-ads.php'),
], 'facebook-ads');
}

if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__ . '/../../config/facebook-ads.php' => config_path('facebook-ads.php'),
__DIR__.'/../../config/facebook-ads.php' => config_path('facebook-ads.php'),
], 'facebook-ads');
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/LaravelFacebookAds/BaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace LaravelFacebookAds\Tests;

use Edbizarro\LaravelFacebookAds\Providers\LaravelFacebookServiceProvider;
use Mockery as m;
use Orchestra\Testbench\TestCase;
use Edbizarro\LaravelFacebookAds\Providers\LaravelFacebookServiceProvider;

/**
* Class BaseTest.
Expand Down

0 comments on commit 8fb13b6

Please sign in to comment.