Completed
Push — develop ( b4fba5...9773af )
by Kirill
12:38
created
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function map(Router $router)
39 39
     {
40
-        $router->group(['namespace' => $this->namespace], function ($router) {
40
+        $router->group(['namespace' => $this->namespace], function($router) {
41 41
             require app_path('Http/routes.php');
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
app/Message.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,11 +67,11 @@
 block discarded – undo
67 67
                 'html'      => $gitter->html,
68 68
                 'urls'      => json_encode($gitter->urls),
69 69
 
70
-                'created_at' => (new Carbon($gitter->sent ?? date('Y-m-d H:i:s', 0)))
70
+                'created_at' => (new Carbon($gitter->sent ? ? date('Y-m-d H:i:s', 0)))
71 71
                     ->setTimezone('Europe/Moscow')
72 72
                     ->timestamp,
73 73
 
74
-                'updated_at' => (new Carbon($gitter->editedAt ?? date('Y-m-d H:i:s', 0)))
74
+                'updated_at' => (new Carbon($gitter->editedAt ? ? date('Y-m-d H:i:s', 0)))
75 75
                     ->setTimezone('Europe/Moscow')
76 76
                     ->timestamp,
77 77
             ]);
Please login to merge, or discard this patch.
app/Observers/MessageObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
                     'method' => 'PUT',
29 29
                     'body'   => ['text' => (string)$message->text],
30 30
                 ])
31
-                ->then(function ($d) {
31
+                ->then(function($d) {
32 32
                     return $d->text;
33 33
                 })
34 34
                 ->wait();
Please login to merge, or discard this patch.
app/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      */
63 63
     public static function make(GitterUser $gitterUser, \Closure $new = null)
64 64
     {
65
-        if ($new === null) { $new = function(){}; }
65
+        if ($new === null) { $new = function() {}; }
66 66
 
67 67
         $user = static::where('gitter_id', $gitterUser->id)->first();
68 68
         if (!$user) {
Please login to merge, or discard this patch.
app/Room.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public static function make(GitterRoom $gitterRoom, \Closure $new = null)
40 40
     {
41
-        if ($new === null) { $new = function(){}; }
41
+        if ($new === null) { $new = function() {}; }
42 42
 
43 43
         $room = static::where('gitter_id', $gitterRoom->id)->first();
44 44
         if (!$room) {
Please login to merge, or discard this patch.