|
@@ -26,7 +26,7 @@ discard block |
|
|
block discarded – undo |
|
26
|
26
|
|
|
27
|
27
|
$this->app->when(ExpoChannel::class) |
|
28
|
28
|
->needs(Expo::class) |
|
29
|
|
- ->give(function () use ($repository) { |
|
|
29
|
+ ->give(function() use ($repository) { |
|
30
|
30
|
return new Expo(new ExpoRegistrar($repository)); |
|
31
|
31
|
}); |
|
32
|
32
|
|
|
@@ -84,7 +84,7 @@ discard block |
|
|
block discarded – undo |
|
84
|
84
|
*/ |
|
85
|
85
|
private function shouldPublishMigrations(ExpoRepository $repository) |
|
86
|
86
|
{ |
|
87
|
|
- if ($repository instanceof ExpoDatabaseDriver && ! class_exists('CreateExponentPushNotificationInterestsTable')) { |
|
|
87
|
+ if ($repository instanceof ExpoDatabaseDriver && !class_exists('CreateExponentPushNotificationInterestsTable')) { |
|
88
|
88
|
$timestamp = date('Y_m_d_His', time()); |
|
89
|
89
|
$this->publishes([ |
|
90
|
90
|
__DIR__.'/../migrations/create_exponent_push_notification_interests_table.php.stub' => database_path("/migrations/{$timestamp}_create_exponent_push_notification_interests_table.php"), |
Please login to merge, or discard this patch.