Passed
Branch master (97c060)
by Stan
04:06
created
Category
src/Providers/NotifierServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,26 +29,26 @@
 block discarded – undo
29 29
             __DIR__ . '/../../config/services.php', 'services'
30 30
         );
31 31
 
32
-        $this->app->singleton(SentryNotifier::class, function ($app) {
32
+        $this->app->singleton(SentryNotifier::class, function($app) {
33 33
             return new SentryNotifier(
34 34
                 MessengerServiceFactory::create($app['config']['services']['laravel-sentry-notifications']['service']),
35 35
                 resolve(SentryServiceInterface::class),
36 36
             );
37 37
         });
38 38
 
39
-        $this->app->singleton(MessageFormatterFactory::class, function ($app) {
39
+        $this->app->singleton(MessageFormatterFactory::class, function($app) {
40 40
             return new MessageFormatterFactory(
41 41
                 $app['config']['services']['laravel-sentry-notifications']['service']
42 42
             );
43 43
         });
44 44
 
45
-        $this->app->singleton(NotificationEntityFactory::class, function ($app) {
45
+        $this->app->singleton(NotificationEntityFactory::class, function($app) {
46 46
             return new NotificationEntityFactory(
47 47
                 $app['config']['services']['laravel-sentry-notifications']['service']
48 48
             );
49 49
         });
50 50
 
51
-        $this->app->singleton(NotificationFactory::class, function ($app) {
51
+        $this->app->singleton(NotificationFactory::class, function($app) {
52 52
             return new NotificationFactory(
53 53
                 $app['config']['services']['laravel-sentry-notifications']['service']
54 54
             );
Please login to merge, or discard this patch.
src/Providers/TelegramServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
             ->needs(MessageFormatterInterface::class)
25 25
             ->give(TelegramMessageFormatter::class);
26 26
 
27
-        $this->app->bind(NotifableTelegramChannel::class, function (Application $app) {
27
+        $this->app->bind(NotifableTelegramChannel::class, function(Application $app) {
28 28
             return new NotifableTelegramChannel($app['config']['services']['laravel-sentry-notifications']['chat_id']);
29 29
         });
30 30
 
Please login to merge, or discard this patch.
src/Providers/SentryServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function register(): void
15 15
     {
16
-        $this->app->singleton(SentryServiceInterface::class, function ($app) {
16
+        $this->app->singleton(SentryServiceInterface::class, function($app) {
17 17
             return new SentryService(
18 18
                 $app['sentry'],
19 19
                 $app['config']['services']['laravel-sentry-notifications']['issues_url'],
Please login to merge, or discard this patch.