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:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user