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

@@ -108,7 +108,4 @@ class Form extends Model {
return $orm->whereNull('deleted_at');
}
static function createOrUpdate($data = array()) {
return parent::internalCreateOrUpdate($data);
}
}