@@ -17,6 +17,7 @@ |
||
| 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) |
@@ -24,7 +24,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |