@@ -38,7 +38,7 @@ |
||
38 | 38 | */ |
39 | 39 | public function role() |
40 | 40 | { |
41 | - return $this->belongsTo('WITR\Role', 'user_role', 'id'); |
|
41 | + return $this->belongsTo('WITR\Role', 'user_role', 'id'); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
@@ -22,7 +22,7 @@ |
||
22 | 22 | |
23 | 23 | public function setUrlTagAttribute($value) |
24 | 24 | { |
25 | - parse_str( parse_url( $value, PHP_URL_QUERY ), $params ); |
|
25 | + parse_str(parse_url($value, PHP_URL_QUERY), $params); |
|
26 | 26 | if (isset($params['v']) || array_key_exists('v', $params)) { |
27 | 27 | $this->attributes['url_tag'] = $params['v']; |
28 | 28 | } else { |