Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2016-12-13 13:14:54 +00:00
committed by StyleCI Bot
parent 857d3004eb
commit 88f3df2180
161 changed files with 4729 additions and 3879 deletions

View File

@@ -13,10 +13,11 @@ class User_org extends BaseModel
/* define fillable fields */
protected $fillable = ['id', 'org_id', 'user_id'];
public function setOrgIdAttribute($value){
if($value==""){
public function setOrgIdAttribute($value)
{
if ($value == '') {
$this->attributes['org_id'] = null;
}else{
} else {
$this->attributes['org_id'] = $value;
}
}