Skip to content

Commit

Permalink
Apply pint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell authored and github-actions[bot] committed Feb 29, 2024
1 parent 6110e5a commit a4e121a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class ServiceProvider extends AddonServiceProvider
protected $commands = [
ClearLocks::class,
];

protected $listen = [
Events\AssetSaving::class => [Listeners\LockListener::class],
Events\EntrySaving::class => [Listeners\LockListener::class],
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected function resolveApplicationConfiguration($app)
foreach ($configs as $config) {
$app['config']->set(
"statamic.$config",
require (__DIR__."/../vendor/statamic/cms/config/{$config}.php")
require(__DIR__."/../vendor/statamic/cms/config/{$config}.php")
);
}

Expand All @@ -96,7 +96,7 @@ protected function resolveApplicationConfiguration($app)
'directory' => __DIR__.'/__fixtures__/users',
]);

$app['config']->set('statamic-locks', require (__DIR__.'/../config/statamic-locks.php'));
$app['config']->set('statamic-locks', require(__DIR__.'/../config/statamic-locks.php'));

$app['config']->set('app.debug', true);
}
Expand Down

0 comments on commit a4e121a

Please sign in to comment.