Commit 639c2744 authored by Silvio Gratani's avatar Silvio Gratani

fix

parent 602a2134
...@@ -102,6 +102,7 @@ interface BaseRepository ...@@ -102,6 +102,7 @@ interface BaseRepository
/** /**
* @param string $field * @param string $field
* @param array $values * @param array $values
* @return Builder;
*/ */
public function whereIn(string $field, array $values); public function whereIn(string $field, array $values) : Builder;
} }
...@@ -227,8 +227,6 @@ abstract class BaseCacheDecorator implements BaseRepository ...@@ -227,8 +227,6 @@ abstract class BaseCacheDecorator implements BaseRepository
*/ */
public function whereIn(string $field, array $values) public function whereIn(string $field, array $values)
{ {
return $this->remember(function () use ($field, $values) { return $this->repository->whereIn($field, $values);
return $this->repository->whereIn($field, $values);
});
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment