mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#12117)
* Apply fixes from StyleCI * Disable style check
This commit is contained in:
@@ -48,6 +48,7 @@ abstract class LnmsCommand extends Command
|
||||
public function isHidden()
|
||||
{
|
||||
$env = $this->getLaravel() ? $this->getLaravel()->environment() : getenv('APP_ENV');
|
||||
|
||||
return $this->hidden || ($this->developer && $env !== 'production');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user