diff --git a/src/flextype/Foundation/Entries/Entries.php b/src/flextype/Foundation/Entries/Entries.php index bc1fd831..44c9edd2 100755 --- a/src/flextype/Foundation/Entries/Entries.php +++ b/src/flextype/Foundation/Entries/Entries.php @@ -418,11 +418,13 @@ class Entries * * @access public * - * @return array Updated storage. + * @return self Returns instance of The Entries class. */ - public function setStorage(?string $key, $value): void + public function setStorage(?string $key, $value): self { $this->storage = arrays($this->storage)->set($key, $value)->toArray(); + + return $this; } /**