@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function runMonitor() |
| 51 | 51 | { |
| 52 | - if (! file_exists($this->path)) { |
|
| 52 | + if (!file_exists($this->path)) { |
|
| 53 | 53 | throw InvalidPath::pathDoesNotExist($this->path); |
| 54 | 54 | } |
| 55 | 55 | |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | $this->usedSpace = $this->totalSpace - $this->freeSpace; |
| 61 | 61 | |
| 62 | - $this->percentageUsed = sprintf('%.2f',($this->usedSpace / $this->totalSpace) * 100); |
|
| 62 | + $this->percentageUsed = sprintf('%.2f', ($this->usedSpace / $this->totalSpace) * 100); |
|
| 63 | 63 | |
| 64 | 64 | if ($this->percentageUsed >= $this->alarmPercentage) { |
| 65 | 65 | event(new DiskUsageAlarm($this)); |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | */ |
| 98 | 98 | public function getPercentageUsed() |
| 99 | 99 | { |
| 100 | - return $this->percentageUsed . '%'; |
|
| 100 | + return $this->percentageUsed.'%'; |
|
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
@@ -113,6 +113,6 @@ discard block |
||
| 113 | 113 | */ |
| 114 | 114 | public function getAlarmPercentage() |
| 115 | 115 | { |
| 116 | - return $this->alarmPercentage . '%'; |
|
| 116 | + return $this->alarmPercentage.'%'; |
|
| 117 | 117 | } |
| 118 | 118 | } |