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:
@@ -32,7 +32,7 @@ class DatabaseConnectException extends \Exception implements UpgradeableExceptio
|
||||
/**
|
||||
* Try to convert the given Exception to a DatabaseConnectException
|
||||
*
|
||||
* @param \Exception $exception
|
||||
* @param \Exception $exception
|
||||
* @return static|null
|
||||
*/
|
||||
public static function upgrade($exception)
|
||||
|
@@ -31,7 +31,7 @@ class DuskUnsafeException extends \Exception implements UpgradeableException
|
||||
/**
|
||||
* Try to convert the given Exception to this exception
|
||||
*
|
||||
* @param \Exception $exception
|
||||
* @param \Exception $exception
|
||||
* @return static
|
||||
*/
|
||||
public static function upgrade($exception)
|
||||
|
@@ -34,7 +34,7 @@ class FilePermissionsException extends \Exception implements UpgradeableExceptio
|
||||
/**
|
||||
* Try to convert the given Exception to a FilePermissionsException
|
||||
*
|
||||
* @param \Exception $exception
|
||||
* @param \Exception $exception
|
||||
* @return static|null
|
||||
*/
|
||||
public static function upgrade($exception)
|
||||
@@ -78,7 +78,7 @@ class FilePermissionsException extends \Exception implements UpgradeableExceptio
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $log_file
|
||||
* @param string $log_file
|
||||
* @return array
|
||||
*/
|
||||
private function generateCommands($log_file): array
|
||||
|
@@ -40,7 +40,7 @@ class HostUnreachableException extends \Exception
|
||||
|
||||
/**
|
||||
* Add additional reasons
|
||||
* @param string $message
|
||||
* @param string $message
|
||||
*/
|
||||
public function addReason($message)
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ class MaximumExecutionTimeExceeded extends \Exception implements UpgradeableExce
|
||||
/**
|
||||
* Try to convert the given Exception to a FilePermissionsException
|
||||
*
|
||||
* @param \Exception $exception
|
||||
* @param \Exception $exception
|
||||
* @return static|null
|
||||
*/
|
||||
public static function upgrade($exception)
|
||||
|
@@ -42,7 +42,7 @@ class UnserializableRouteCache extends \Exception implements UpgradeableExceptio
|
||||
/**
|
||||
* Try to convert the given Exception to this exception
|
||||
*
|
||||
* @param \Exception $exception
|
||||
* @param \Exception $exception
|
||||
* @return static|null
|
||||
*/
|
||||
public static function upgrade($exception)
|
||||
|
Reference in New Issue
Block a user