1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 06:06:45 +02:00

fix(entries): fix issue with deleteStorage() method return data in Entries API. #532

This commit is contained in:
Awilum
2020-12-28 01:06:09 +03:00
parent c24af495d6
commit 7fdf75320b

View File

@@ -430,11 +430,13 @@ class Entries
*
* @param array|string $keys Keys
*
* @return array Updated storage.
* @return self Returns instance of The Entries class.
*/
public function deleteStorage($keys): self
{
return $this->storage = arrays($this->storage)->delete($keys)->toArray();
$this->storage = arrays($this->storage)->delete($keys)->toArray();
return $this;
}
/**