Skip to content

Commit

Permalink
🐛 fix: apply style-ci fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammed Hussein Karimi <[email protected]>
  • Loading branch information
mhkarimi1383 committed Sep 8, 2024
1 parent 264474e commit e92081f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Telescope.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Context;
use Illuminate\Support\Str;
use Illuminate\Support\Testing\Fakes\EventFake;
use Laravel\Telescope\Contracts\EntriesRepository;
use Laravel\Telescope\Contracts\TerminableRepository;
use Laravel\Telescope\Jobs\ProcessPendingUpdates;
use Illuminate\Support\Facades\Context;
use Throwable;

class Telescope
Expand Down Expand Up @@ -122,7 +122,7 @@ class Telescope
public static $shouldRecord = false;

/**
* Checks if telescope is enabled or not (also uses sample rate config)
* Checks if telescope is enabled or not (also uses sample rate config).
*
* @return bool
*/
Expand All @@ -138,7 +138,7 @@ public static function isEnabled()
if (config('telescope.sample_rate') < rand(0, 100)) {
return false;
}
Context::add("telescope_enabled", $telescope_enabled);
Context::add('telescope_enabled', $telescope_enabled);
return $telescope_enabled;
}

Expand Down
1 change: 0 additions & 1 deletion src/TelescopeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Laravel\Telescope\Contracts\EntriesRepository;
use Laravel\Telescope\Contracts\PrunableRepository;
use Laravel\Telescope\Storage\DatabaseEntriesRepository;
use Laravel\Telescope\Telescope;

class TelescopeServiceProvider extends ServiceProvider
{
Expand Down

0 comments on commit e92081f

Please sign in to comment.