Minor fixes, coding standards
This commit is contained in:
@@ -28,7 +28,7 @@ class PriceLists
|
||||
|
||||
public static function getOptions()
|
||||
{
|
||||
return PriceList::pluck('name','id')->toArray();
|
||||
return PriceList::pluck('name', 'id')->toArray();
|
||||
}
|
||||
|
||||
public static function getAll()
|
||||
@@ -76,7 +76,7 @@ class PriceLists
|
||||
return PriceList::create($data);
|
||||
}
|
||||
|
||||
public static function update($data, $id = false)
|
||||
public static function update($data, $id = false)
|
||||
{
|
||||
$id = $id ? $id : $data['id'];
|
||||
$item = self::get($id);
|
||||
|
||||
Reference in New Issue
Block a user