Skip to content

Commit 4f58c2e

Browse files
Fixed code-style
1 parent 246ac25 commit 4f58c2e

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/snippets/receipt-instagram-feed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
namespace App\Feeds;
66

7+
use App\Models\Product;
78
use DragonCode\LaravelFeed\Feeds\Items\FeedItem;
89
use DragonCode\LaravelFeed\Presets\InstagramFeedPreset;
910
use Illuminate\Database\Eloquent\Builder;
1011
use Illuminate\Database\Eloquent\Model;
11-
use App\Models\Product;
1212

1313
class InstagramFeed extends InstagramFeedPreset
1414
{

docs/snippets/receipt-rss-feed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
namespace App\Feeds;
66

7+
use App\Models\News;
78
use DragonCode\LaravelFeed\Feeds\Items\FeedItem;
89
use DragonCode\LaravelFeed\Presets\RssFeedPreset;
910
use Illuminate\Database\Eloquent\Builder;
1011
use Illuminate\Database\Eloquent\Model;
11-
use App\Models\News;
1212

1313
class RssFeed extends RssFeedPreset
1414
{

docs/snippets/receipt-sitemap-feed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
namespace App\Feeds\Sitemaps;
66

7+
use App\Models\Product;
78
use DragonCode\LaravelFeed\Feeds\Items\FeedItem;
89
use DragonCode\LaravelFeed\Presets\SitemapFeedPreset;
910
use Illuminate\Database\Eloquent\Builder;
1011
use Illuminate\Database\Eloquent\Model;
11-
use App\Models\Product;
1212

1313
class ProductFeed extends SitemapFeedPreset
1414
{

docs/snippets/receipt-yandex-feed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
namespace App\Feeds;
66

7+
use App\Models\Product;
78
use DragonCode\LaravelFeed\Feeds\Info\FeedInfo;
89
use DragonCode\LaravelFeed\Feeds\Items\FeedItem;
910
use DragonCode\LaravelFeed\Presets\YandexFeedPreset;
1011
use Illuminate\Database\Eloquent\Builder;
1112
use Illuminate\Database\Eloquent\Model;
12-
use App\Models\Product;
1313

1414
use function config;
1515
use function route;

src/Presets/Info/YandexFeedInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ public function additional(array $data): static
132132
public function toArray(): array
133133
{
134134
return collect([
135-
'name' => $this->name ?? config('app.name'),
136-
'company' => $this->company ?? config('app.name'),
135+
'name' => $this->name ?? config('app.name'),
136+
'company' => $this->company ?? config('app.name'),
137137
'platform' => $this->platform ?? config('app.name'),
138138

139139
'url' => $this->url ?? config('app.url'),

workbench/app/Feeds/Docs/Items/ReceiptYandexFeedItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function attributes(): array
2828
public function toArray(): array
2929
{
3030
return [
31-
'url' =>$this->model->url,
31+
'url' => $this->model->url,
3232

3333
'barcode' => $this->model->article,
3434
'name' => $this->model->title,

0 commit comments

Comments
 (0)