@@ -31,8 +31,7 @@ |
||
| 31 | 31 | $result = self::where('name', $name)->first(); |
| 32 | 32 | if(!empty($result)){ |
| 33 | 33 | return $result->value; |
| 34 | - } |
|
| 35 | - else{ |
|
| 34 | + } else{ |
|
| 36 | 35 | return null; |
| 37 | 36 | } |
| 38 | 37 | } |