Passed
Push — master ( e32a81...12baf4 )
by Antonio Carlos
02:26
created
src/Listeners/NotifyHealthIssue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class NotifyHealthIssue
10 10
 {
11 11
     /**
12
-     * @return static
12
+     * @return \Illuminate\Support\Collection
13 13
      */
14 14
     private function getNotifiableUsers()
15 15
     {
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Get the resource checker closure for instantiation.
144 144
      *
145
-     * @param $resourceLoader
145
+     * @param ResourceLoader $resourceLoader
146 146
      * @param $cache
147 147
      * @return \Closure
148 148
      */
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
     /**
355 355
      * Get the services provided by the provider.
356 356
      *
357
-     * @return array
357
+     * @return string[]
358 358
      */
359 359
     public function provides()
360 360
     {
Please login to merge, or discard this patch.
src/Checkers/Filesystem.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-     * @param $name
29
-     * @param $content
30
-     * @param null $folder
28
+     * @param string $name
29
+     * @param string $content
30
+     * @param string $folder
31 31
      * @return string
32 32
      */
33 33
     private function temporaryFile($name, $content, $folder = null)
Please login to merge, or discard this patch.
src/Checkers/NotInDebugMode.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * Convert uptime to seconds.
140 140
      *
141 141
      * @param $date
142
-     * @return int
142
+     * @return double
143 143
      */
144 144
     protected function uptimeInSeconds($date)
145 145
     {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      * Make uptime message.
153 153
      *
154 154
      * @param $current
155
-     * @param $saved
155
+     * @param \Illuminate\Support\Collection $saved
156 156
      * @return string
157 157
      */
158 158
     protected function makeMessage($current, $saved = null)
Please login to merge, or discard this patch.
src/Checkers/ServerUptime.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * Convert uptime to seconds.
140 140
      *
141 141
      * @param $date
142
-     * @return int
142
+     * @return double
143 143
      */
144 144
     protected function uptimeInSeconds($date)
145 145
     {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      * Make uptime message.
153 153
      *
154 154
      * @param $current
155
-     * @param $saved
155
+     * @param \Illuminate\Support\Collection $saved
156 156
      * @return string
157 157
      */
158 158
     protected function makeMessage($current, $saved = null)
Please login to merge, or discard this patch.
src/Support/helpers.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * Check if string is absolute path.
58 58
      *
59 59
      * @param $path
60
-     * @return string
60
+     * @return boolean
61 61
      */
62 62
     function is_absolute_path($path)
63 63
     {
@@ -84,6 +84,7 @@  discard block
 block discarded – undo
84 84
     /**
85 85
      * Convert bytes to human readable.
86 86
      *
87
+     * @param double $bytes
87 88
      * @return string
88 89
      */
89 90
     function bytes_to_human($bytes)
@@ -102,7 +103,7 @@  discard block
 block discarded – undo
102 103
     /**
103 104
      * Convert bytes to human readable.
104 105
      *
105
-     * @return string
106
+     * @return double
106 107
      */
107 108
     function human_to_bytes($str)
108 109
     {
Please login to merge, or discard this patch.
src/Checkers/Ping.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param $hostname
29
-     * @return mixed
29
+     * @return string
30 30
      */
31 31
     protected function hosnameAndIp($hostname, $ipAdress)
32 32
     {
Please login to merge, or discard this patch.
src/Checkers/Artisan.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * Check resource.
11 11
      *
12
-     * @return bool
12
+     * @return \PragmaRX\Health\Support\Result
13 13
      */
14 14
     public function check()
15 15
     {
Please login to merge, or discard this patch.
src/Checkers/DiskSpace.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
         return $this->makeHealthyResult();
31 31
     }
32 32
 
33
+    /**
34
+     * @param double $free
35
+     */
33 36
     public function isEnough($free, $minimum)
34 37
     {
35 38
         return $free > human_to_bytes($minimum);
Please login to merge, or discard this patch.