| @@ -8,7 +8,6 @@ | ||
| 8 | 8 | use Spiral\Snapshotter\AggregationHandler\Database\SnapshotRecord; | 
| 9 | 9 | use Spiral\Snapshotter\AggregationHandler\Database\Sources\SnapshotSource; | 
| 10 | 10 | use Spiral\Snapshotter\AggregationHandler\Database\Sources\IncidentSource; | 
| 11 | -use Spiral\Snapshotter\AggregationHandler\Database\Types\IncidentStatus; | |
| 12 | 11 | |
| 13 | 12 | class SnapshotService extends Service | 
| 14 | 13 |  { | 
| @@ -14,7 +14,6 @@ | ||
| 14 | 14 | use Spiral\Snapshotter\DelegateSnapshot; | 
| 15 | 15 | use Spiral\Snapshotter\AggregationHandler\Database\SnapshotRecord; | 
| 16 | 16 | use Spiral\Snapshotter\AggregationHandler; | 
| 17 | -use Spiral\Snapshotter\FileHandler; | |
| 18 | 17 | |
| 19 | 18 | /** | 
| 20 | 19 | * @property \Spiral\Core\MemoryInterface $memory | 
| @@ -7,7 +7,6 @@ | ||
| 7 | 7 | use Spiral\Snapshotter\DelegateSnapshot; | 
| 8 | 8 | use Spiral\Snapshotter\HandlerInterface; | 
| 9 | 9 | use Spiral\Tests\BaseTest; | 
| 10 | -use Symfony\Component\Debug\Debug; | |
| 11 | 10 | |
| 12 | 11 | class DelegateTest extends BaseTest | 
| 13 | 12 |  { | 
| @@ -3,9 +3,6 @@ | ||
| 3 | 3 | namespace Spiral\Tests\Snapshotter; | 
| 4 | 4 | |
| 5 | 5 | use Spiral\Debug\Configs\SnapshotConfig; | 
| 6 | -use Spiral\Snapshotter\AggregationHandler; | |
| 7 | -use Spiral\Snapshotter\AggregationHandler\Database\IncidentRecord; | |
| 8 | -use Spiral\Snapshotter\AggregationHandler\Database\SnapshotRecord; | |
| 9 | 6 | use Spiral\Snapshotter\Bootloaders\FileSnapshotterBootloader; | 
| 10 | 7 | use Spiral\Snapshotter\DelegateSnapshot; | 
| 11 | 8 | use Spiral\Tests\BaseTest; | 
| @@ -166,9 +166,9 @@ | ||
| 166 | 166 | title="[[Suppress incident]]" | 
| 167 | 167 | class="btn blue-grey darken-2 waves-effect waves-light" | 
| 168 | 168 | options="<?= [ | 
| 169 | - 'id' => $snapshot->primaryKey(), | |
| 170 | - 'incident' => $entity->primaryKey(), | |
| 171 | - ] ?>"></vault:uri> | |
| 169 | + 'id' => $snapshot->primaryKey(), | |
| 170 | + 'incident' => $entity->primaryKey(), | |
| 171 | + ] ?>"></vault:uri> | |
| 172 | 172 | </vault:guard> | 
| 173 | 173 | <?php } | 
| 174 | 174 | |
| @@ -24,9 +24,9 @@ | ||
| 24 | 24 | <vault:uri target="snapshots:suppressIncident" | 
| 25 | 25 | class="btn blue-grey darken-2 waves-effect waves-light" icon="archive" | 
| 26 | 26 | options="<?= [ | 
| 27 | - 'id' => $snapshot->primaryKey(), | |
| 28 | - 'incident' => $incident->primaryKey() | |
| 29 | - ] ?>"> | |
| 27 | + 'id' => $snapshot->primaryKey(), | |
| 28 | + 'incident' => $incident->primaryKey() | |
| 29 | + ] ?>"> | |
| 30 | 30 | [[Suppress]] | 
| 31 | 31 | </vault:uri> | 
| 32 | 32 | <?php } ?> |