Skip to content

Commit

Permalink
Pint styling
Browse files Browse the repository at this point in the history
  • Loading branch information
PhiloNL committed Oct 14, 2024
1 parent ff9e06c commit 0011578
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
16 changes: 8 additions & 8 deletions config/wire-spy.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
* By default, WireSpy will only be enabled in your development environment.
*/
'enabled' => env('WIRESPY_ENABLED'),

/**
* The keybinding configuration option allows you to define a keyboard shortcut
* using AlpineJS syntax. It accepts a string representing the desired key combination.
*
* Syntax:
* - 'super' corresponds to the 'Cmd' key on macOS and the 'Ctrl' key on Windows/Linux.
* - Combine with other keys using dot notation, like 'super.l' for 'Cmd+L' or 'Ctrl+L'.
*/
* The keybinding configuration option allows you to define a keyboard shortcut
* using AlpineJS syntax. It accepts a string representing the desired key combination.
*
* Syntax:
* - 'super' corresponds to the 'Cmd' key on macOS and the 'Ctrl' key on Windows/Linux.
* - Combine with other keys using dot notation, like 'super.l' for 'Cmd+L' or 'Ctrl+L'.
*/
'keybinding' => 'super.l',
];
5 changes: 2 additions & 3 deletions src/WireSpyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace WireElements\WireSpy;

use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
use Livewire\Livewire;
Expand All @@ -24,7 +23,7 @@ public function register(): void
private function registerPackageConfig(): void
{
$this->mergeConfigFrom(__DIR__.'/../config/wire-spy.php', 'wire-spy');
$this->publishes([__DIR__.'/../config/wire-spy.php' => config_path('wire-spy.php'),], 'wire-spy-config');
$this->publishes([__DIR__.'/../config/wire-spy.php' => config_path('wire-spy.php')], 'wire-spy-config');
}

private function registerLivewireComponent(): void
Expand All @@ -50,7 +49,7 @@ private function registerHotReloadRoute(): void

private function wireSpyIsEnabled(): bool
{
if(config('wire-spy.enabled') === null) {
if (config('wire-spy.enabled') === null) {
return app()->isLocal();
}

Expand Down

0 comments on commit 0011578

Please sign in to comment.