Passed
Branch master (ae98e8)
by Chubarov
04:40
created
src/Parser.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public static function parse() : void
15 15
     {
16
-         SheduleEmail::whereRaw('CAST(date AS Datetime) <= ? AND status_action = ?', [Carbon::now(), 0])->get()
16
+            SheduleEmail::whereRaw('CAST(date AS Datetime) <= ? AND status_action = ?', [Carbon::now(), 0])->get()
17 17
                     ->each(function ($value) {
18 18
                         $value->mode->owner->postEmail($value);
19 19
                     });
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 {
14 14
     public static function parse() : void
15 15
     {
16
-         SheduleEmail::whereRaw('CAST(date AS Datetime) <= ? AND status_action = ?', [Carbon::now(), 0])->get()
17
-                    ->each(function ($value) {
16
+         SheduleEmail::whereRaw('CAST(date AS Datetime) <= ? AND status_action = ?', [ Carbon::now(), 0 ])->get()
17
+                    ->each(function($value) {
18 18
                         $value->mode->owner->postEmail($value);
19 19
                     });
20 20
     }
Please login to merge, or discard this patch.
src/Models/ModePostEmail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 
8 8
 class ModePostEmail extends Model
9 9
 {
10
-    protected $fillable = ['name', 'description', 'owner'];
10
+    protected $fillable = [ 'name', 'description', 'owner' ];
11 11
 
12 12
     public function getOwnerAttribute(string $value) : Mode
13 13
     {
Please login to merge, or discard this patch.