Use short array syntax
[MAILPOET-2090]
This commit is contained in:
@@ -6,7 +6,7 @@ if (!defined('ABSPATH')) exit;
|
||||
class MappingToExternalEntities extends Model {
|
||||
public static $_table = MP_MAPPING_TO_EXTERNAL_ENTITIES_TABLE;
|
||||
|
||||
static function create($data = array()) {
|
||||
static function create($data = []) {
|
||||
$relation = parent::create();
|
||||
$relation->hydrate($data);
|
||||
return $relation->save();
|
||||
|
Reference in New Issue
Block a user