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:
@@ -43,7 +43,7 @@ class Device
|
||||
* Set the primary device.
|
||||
* This will be fetched by getPrimary()
|
||||
*
|
||||
* @param int $device_id
|
||||
* @param int $device_id
|
||||
*/
|
||||
public function setPrimary(int $device_id)
|
||||
{
|
||||
@@ -53,7 +53,7 @@ class Device
|
||||
/**
|
||||
* Get a device by device_id
|
||||
*
|
||||
* @param int $device_id
|
||||
* @param int $device_id
|
||||
* @return \App\Models\Device
|
||||
*/
|
||||
public function get(?int $device_id): \App\Models\Device
|
||||
@@ -68,7 +68,7 @@ class Device
|
||||
/**
|
||||
* Get a device by hostname
|
||||
*
|
||||
* @param string $hostname
|
||||
* @param string $hostname
|
||||
* @return \App\Models\Device
|
||||
*/
|
||||
public function getByHostname($hostname): \App\Models\Device
|
||||
@@ -85,7 +85,7 @@ class Device
|
||||
/**
|
||||
* Ignore cache and load the device fresh from the database
|
||||
*
|
||||
* @param int $device_id
|
||||
* @param int $device_id
|
||||
* @return \App\Models\Device
|
||||
*/
|
||||
public function refresh(?int $device_id): \App\Models\Device
|
||||
|
Reference in New Issue
Block a user