Skip to content

Commit

Permalink
Merge pull request #1372 from HDInnovations/analysis-9mPr5l
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
HDVinnie authored Jun 2, 2020
2 parents f69ecec + 4b4e922 commit fc51429
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/Console/Commands/DemoSeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

namespace App\Console\Commands;

use App\Models\Torrent;
use App\Models\User;
use Exception;
use Illuminate\Console\Command;
use Illuminate\Support\Str;
Expand Down
1 change: 1 addition & 0 deletions app/Helpers/BBCodeConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class BBCodeConverter
*/
public $text;
public $id;

/**
* @brief Constructor.
*
Expand Down
1 change: 1 addition & 0 deletions app/Http/Controllers/StatsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class StatsController extends Controller
* @var \Carbon\Carbon|mixed
*/
public $expiresAt;

/**
* StatsController Constructor.
*/
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Middleware/TwoStepAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function handle(Request $request, Closure $next)
default:
session(['nextUri' => $nextUri]);

if (config('auth.TwoStepEnabled') && $user->twostep == 1 && !$this->twoStepVerification()) {
if (config('auth.TwoStepEnabled') && $user->twostep == 1 && ! $this->twoStepVerification()) {
return redirect()->route('verificationNeeded');
}

Expand Down
2 changes: 1 addition & 1 deletion app/Services/Clients/TmdbClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ private function formatImages($images, $path, $image)
{
$images = array_map(fn ($item) => $path.$item['file_path'], $images);

return array_filter($images, fn ($item) => !$item != !($path.$image));
return array_filter($images, fn ($item) => ! $item != ! ($path.$image));
}

private function formatCasts($credits, $role)
Expand Down

0 comments on commit fc51429

Please sign in to comment.