Passed
Push — master ( 8ac266...101833 )
by Mina
02:48
created
src/Jobs/IndexModel.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Create a new job instance.
19 19
      *
20
+     * @param string $operation
20 21
      * @return void
21 22
      */
22 23
     public function __construct($model, $params, $operation)
Please login to merge, or discard this patch.
src/Observers/ModelObserver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
             'id' => $model->getIndexId(),
25 25
             'body' => $model->getSearchableIndex(),
26 26
         ];
27
-        dispatch(new IndexModel($model, $params,'index'));
27
+        dispatch(new IndexModel($model, $params, 'index'));
28 28
     }
29 29
 
30 30
     /**
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
                 'doc' => $model->getSearchableIndex()
41 41
             ],
42 42
         ];
43
-        dispatch(new IndexModel($model, $params,'update'));
43
+        dispatch(new IndexModel($model, $params, 'update'));
44 44
     }
45 45
 
46 46
     /**
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             'id' => $model->getIndexId(),
55 55
             'body' => $model->getSearchableIndex(),
56 56
         ];
57
-        dispatch(new IndexModel($model, $params,'create'));
57
+        dispatch(new IndexModel($model, $params, 'create'));
58 58
     }
59 59
 
60 60
     /**
@@ -67,6 +67,6 @@  discard block
 block discarded – undo
67 67
             'type' => $model->getIndexType(),
68 68
             'id' => $model->getIndexId(),
69 69
         ];
70
-        dispatch(new IndexModel($model, $params,'delete'));
70
+        dispatch(new IndexModel($model, $params, 'delete'));
71 71
     }
72 72
 }
73 73
\ No newline at end of file
Please login to merge, or discard this patch.