Completed
Push — master ( 8f92db...f51b12 )
by Eric
02:13
created
src/Monitors/DiskUsageMonitor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
113 113
      */
114 114
     public function getAlarmPercentage()
115 115
     {
116
-        return $this->alarmPercentage . '%';
116
+        return $this->alarmPercentage.'%';
117 117
     }
118 118
 }
Please login to merge, or discard this patch.