Skip to content

Commit

Permalink
Merge pull request #15 from GetDKAN/new-storage
Browse files Browse the repository at this point in the history
New storage expectations.
  • Loading branch information
janette authored Jan 8, 2020
2 parents 34c9998 + 47e912d commit fc16170
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Harvester.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct(Factory $factory)

public function revert()
{
$ids = array_keys($this->factory->hashStorage->retrieveAll());
$ids = $this->factory->hashStorage->retrieveAll();
$load = $this->factory->get("load");
$counter = 0;
foreach ($ids as $id) {
Expand Down
1 change: 0 additions & 1 deletion src/ResultInterpreter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace Harvest;

class ResultInterpreter
Expand Down
4 changes: 4 additions & 0 deletions test/MemStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@

class MemStore extends Memory implements StorageInterface
{
public function retrieveAll(): array
{
return array_keys(parent::retrieveAll());
}

}

0 comments on commit fc16170

Please sign in to comment.