Completed
Push — master ( 91e0f6...843efc )
by Aly
06:09 queued 02:55
created
src/ExpoChannel.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 use ExponentPhpSDK\Expo;
7 7
 use Illuminate\Events\Dispatcher;
8 8
 use Illuminate\Notifications\Events\NotificationFailed;
9
-use NotificationChannels\ExpoPushNotifications\Exceptions\CouldNotSendNotification;
10 9
 use Illuminate\Notifications\Notification;
10
+use NotificationChannels\ExpoPushNotifications\Exceptions\CouldNotSendNotification;
11 11
 
12 12
 class ExpoChannel
13 13
 {
Please login to merge, or discard this patch.
src/ExpoPushNotificationsServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,12 +17,12 @@
 block discarded – undo
17 17
     {
18 18
         $this->app->when(ExpoChannel::class)
19 19
             ->needs(Expo::class)
20
-            ->give(function () {
20
+            ->give(function() {
21 21
                 return new Expo(new ExpoRegistrar(new ExpoFileDriver()));
22 22
             });
23 23
 
24 24
         //Load routes
25
-        $this->loadRoutesFrom(__DIR__ . '/Http/routes.php');
25
+        $this->loadRoutesFrom(__DIR__.'/Http/routes.php');
26 26
     }
27 27
 
28 28
     /**
Please login to merge, or discard this patch.
src/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-Route::group(['prefix' => 'api/exponent/devices', 'middleware' => 'auth:api, bindings'], function () {
3
+Route::group(['prefix' => 'api/exponent/devices', 'middleware' => 'auth:api, bindings'], function() {
4 4
     Route::post('subscribe', [
5 5
         'as'    =>  'register-interest',
6 6
         'uses'  =>  'NotificationChannels\ExpoPushNotifications\Http\ExpoController@subscribe'
Please login to merge, or discard this patch.