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