Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2018-08-16 15:02:43 +00:00
committed by StyleCI Bot
parent 6941280996
commit 4041e27fe1

View File

@@ -60,12 +60,12 @@ class Emails extends BaseModel
public function getPasswordAttribute($value) public function getPasswordAttribute($value)
{ {
try{ try {
if ($value) { if ($value) {
return \Crypt::decrypt($value); return \Crypt::decrypt($value);
} }
} catch(\Exception $e) { } catch (\Exception $e) {
return null; return;
} }
return $value; return $value;