using static
instead of self
renaming `internalCreateOrUpdate` to `_createOrUpdate` renaming `$conditions` to `$keys` adding block comment for `_createOrUpdate` method.
This commit is contained in:
@@ -219,10 +219,6 @@ class Segment extends Model {
|
||||
return $query;
|
||||
}
|
||||
|
||||
static function createOrUpdate($data = array()) {
|
||||
return parent::internalCreateOrUpdate($data);
|
||||
}
|
||||
|
||||
static function getPublic() {
|
||||
return self::getPublished()->where('type', self::TYPE_DEFAULT)->orderByAsc('name');
|
||||
}
|
||||
|
Reference in New Issue
Block a user