Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkwinkelmann authored and StyleCIBot committed Apr 8, 2021
1 parent 03da2f5 commit e5a2d8a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/share-social.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion migrations/2019_06_17_000000_add_settings_social_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of fof/share-social.
*
* Copyright (c) 2019 FriendsOfFlarum.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
11 changes: 10 additions & 1 deletion src/ForumAttributes.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of fof/share-social.
*
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FoF\ShareSocial;

use Flarum\Api\Serializer\ForumSerializer;
Expand All @@ -23,7 +32,7 @@ public function __invoke(ForumSerializer $serializer): array
$networks = [];

foreach (self::KEYS as $key) {
if ($this->settings->get(self::PREFIX . $key)) {
if ($this->settings->get(self::PREFIX.$key)) {
$networks[] = $key;
}
}
Expand Down

0 comments on commit e5a2d8a

Please sign in to comment.