1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 14:16:46 +02:00

feat(entries): add ability to create entry with empty data array

This commit is contained in:
Awilum
2020-10-18 14:47:21 +03:00
parent c6232fad8e
commit 1e49e912dc

View File

@@ -254,7 +254,7 @@ class Entries
*
* @access public
*/
public function create(string $id, array $data): bool
public function create(string $id, array $data = []): bool
{
// Store data
$this->storage['create']['id'] = $id;