using static instead of self

renaming `internalCreateOrUpdate` to `_createOrUpdate`
renaming `$conditions` to `$keys`
adding block comment for `_createOrUpdate` method.
This commit is contained in:
Amine Ben hammou
2018-02-11 21:04:56 +00:00
parent 91622f8cd9
commit b076e03a75
11 changed files with 30 additions and 26 deletions

View File

@@ -131,6 +131,6 @@ class CustomField extends Model {
if(empty($data['params']['label']) && isset($data['name'])) {
$data['params']['label'] = $data['name'];
}
return parent::internalCreateOrUpdate($data);
return parent::_createOrUpdate($data);
}
}