Test Failed
Push — master ( 3ef329...d55ae3 )
by Antonio Carlos
01:41 queued 11s
created
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/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.
src/Checkers/PortCheck.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,8 @@
 block discarded – undo
28 28
      * Get hostname and IP.
29 29
      *
30 30
      * @param $hostname
31
-     * @return mixed
31
+     * @param boolean $ipAdress
32
+     * @return string
32 33
      */
33 34
     protected function hosnameAndIp($hostname, $ipAdress)
34 35
     {
Please login to merge, or discard this patch.
src/Checkers/Process.php 1 patch
Doc Comments   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,12 +27,18 @@  discard block
 block discarded – undo
27 27
         return $this->makeHealthyResult();
28 28
     }
29 29
 
30
+    /**
31
+     * @param integer|null $processes
32
+     */
30 33
     private function checkMinMax($processes)
31 34
     {
32 35
         return $this->buildMessage('minimum', $processes)
33 36
             ?: $this->buildMessage('maximum', $processes);
34 37
     }
35 38
 
39
+    /**
40
+     * @param string $type
41
+     */
36 42
     private function buildMessage($type, $processes)
37 43
     {
38 44
         $instances = $this->target->instances;
@@ -75,7 +81,7 @@  discard block
 block discarded – undo
75 81
 
76 82
     /**
77 83
      * @param $file
78
-     * @return bool
84
+     * @return integer
79 85
      */
80 86
     private function checkPidFileExistence($file)
81 87
     {
@@ -90,7 +96,7 @@  discard block
 block discarded – undo
90 96
 
91 97
     /**
92 98
      * @param $file
93
-     * @return bool
99
+     * @return boolean|null
94 100
      */
95 101
     private function checkPidFileLockState($file)
96 102
     {
@@ -112,7 +118,7 @@  discard block
 block discarded – undo
112 118
     }
113 119
 
114 120
     /**
115
-     * @return bool
121
+     * @return integer
116 122
      */
117 123
     private function processPidFileIsLocked()
118 124
     {
Please login to merge, or discard this patch.
src/Support/Cache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * Flush cache.
24 24
      *
25 25
      * @param bool $force
26
-     * @param null $key
26
+     * @param string $key
27 27
      */
28 28
     public function flush($force = false, $key = null)
29 29
     {
Please login to merge, or discard this patch.