@@ -70,15 +70,13 @@ |
||
70 | 70 | queueName: $entity->queueName, |
71 | 71 | wait: $entity->debounceWaitTime |
72 | 72 | ); |
73 | - } |
|
74 | - else if ($entity->isQueueable) { |
|
73 | + } else if ($entity->isQueueable) { |
|
75 | 74 | $this->initCache($entity, $entity->getTtl()); |
76 | 75 | |
77 | 76 | RefreshCache::dispatch($this->model, $entity->name, $event) |
78 | 77 | ->onConnection($entity->queueConnection) |
79 | 78 | ->onQueue($entity->queueName); |
80 | - } |
|
81 | - else { |
|
79 | + } else { |
|
82 | 80 | $this->updateCacheEntity($entity->name, $event, $entity); |
83 | 81 | } |
84 | 82 | } |