Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdnbrk committed Dec 26, 2024
1 parent 101a5c0 commit c0fae2f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/CacheBitcoinBlockHeightCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Console\Commands;

use App\Jobs\CacheBitcoinBlockHeight;
use Illuminate\Console\Command;
use Illuminate\Support\Collection;
use App\Jobs\CacheBitcoinBlockHeight;
use Illuminate\Support\Facades\Cache;

class CacheBitcoinBlockHeightCommand extends Command
Expand Down
2 changes: 1 addition & 1 deletion app/Models/Inscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function getDynamicSEOData(): SEOData
Str::of('opengraph/default/')
->append($this->getInternalCollectionId())
->append('.webp')
),
),
url: Str::of('https://pizza.ninja/')->append($this->getInternalCollectionId()),
);
}
Expand Down
4 changes: 2 additions & 2 deletions app/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function cdn_asset(string $path): string
{
$cdnUrl = config('app.cdn_url');

$path = '/' . ltrim($path, '/');
$path = '/'.ltrim($path, '/');

return $cdnUrl . $path;
return $cdnUrl.$path;
}
6 changes: 3 additions & 3 deletions tests/Unit/Jobs/CacheBitcoinBlockHeightTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Tests\Unit\Jobs;

use Tests\TestCase;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Http;
use App\Jobs\CacheBitcoinBlockHeight;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Http;
use PHPUnit\Framework\Attributes\Test;
use Tests\TestCase;

class CacheBitcoinBlockHeightTest extends TestCase
{
Expand Down

0 comments on commit c0fae2f

Please sign in to comment.