mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#13208)
This commit is contained in:
@@ -9,7 +9,7 @@ class DeviceObserver
|
||||
/**
|
||||
* Handle the device "updated" event.
|
||||
*
|
||||
* @param \App\Models\Device $device
|
||||
* @param \App\Models\Device $device
|
||||
* @return void
|
||||
*/
|
||||
public function updated(Device $device)
|
||||
@@ -33,7 +33,7 @@ class DeviceObserver
|
||||
/**
|
||||
* Handle the device "deleting" event.
|
||||
*
|
||||
* @param \App\Models\Device $device
|
||||
* @param \App\Models\Device $device
|
||||
* @return void
|
||||
*/
|
||||
public function deleting(Device $device)
|
||||
@@ -51,10 +51,10 @@ class DeviceObserver
|
||||
/**
|
||||
* Handle the device "Pivot Attached" event.
|
||||
*
|
||||
* @param \App\Models\Device $device
|
||||
* @param string $relationName parents or children
|
||||
* @param array $pivotIds list of pivot ids
|
||||
* @param array $pivotIdsAttributes additional pivot attributes
|
||||
* @param \App\Models\Device $device
|
||||
* @param string $relationName parents or children
|
||||
* @param array $pivotIds list of pivot ids
|
||||
* @param array $pivotIdsAttributes additional pivot attributes
|
||||
* @return void
|
||||
*/
|
||||
public function pivotAttached(Device $device, $relationName, $pivotIds, $pivotIdsAttributes)
|
||||
|
@@ -31,7 +31,7 @@ class ModuleModelObserver
|
||||
/**
|
||||
* Install observers to output +, -, U for models being created, deleted, and updated
|
||||
*
|
||||
* @param string|\Illuminate\Database\Eloquent\Model $model The model name including namespace
|
||||
* @param string|\Illuminate\Database\Eloquent\Model $model The model name including namespace
|
||||
*/
|
||||
public static function observe($model)
|
||||
{
|
||||
@@ -45,7 +45,7 @@ class ModuleModelObserver
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Eloquent $model
|
||||
* @param Eloquent $model
|
||||
*/
|
||||
public function saving($model)
|
||||
{
|
||||
@@ -55,7 +55,7 @@ class ModuleModelObserver
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Eloquent $model
|
||||
* @param Eloquent $model
|
||||
*/
|
||||
public function updated($model)
|
||||
{
|
||||
@@ -64,7 +64,7 @@ class ModuleModelObserver
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Eloquent $model
|
||||
* @param Eloquent $model
|
||||
*/
|
||||
public function created($model)
|
||||
{
|
||||
@@ -72,7 +72,7 @@ class ModuleModelObserver
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Eloquent $model
|
||||
* @param Eloquent $model
|
||||
*/
|
||||
public function deleted($model)
|
||||
{
|
||||
|
Reference in New Issue
Block a user