Completed
Pull Request — master (#77)
by Maximilian
05:29
created
src/Gelf/Message.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * Trys to convert a given log-level (psr or syslog) to
69 69
      * the psr representation
70 70
      *
71
-     * @param  mixed  $level
71
+     * @param  integer  $level
72 72
      * @return string
73 73
      */
74 74
     final public static function logLevelToPsr($level)
@@ -150,6 +150,9 @@  discard block
 block discarded – undo
150 150
         return $this->shortMessage;
151 151
     }
152 152
 
153
+    /**
154
+     * @param string $shortMessage
155
+     */
153 156
     public function setShortMessage($shortMessage)
154 157
     {
155 158
         $this->shortMessage = $shortMessage;
@@ -162,6 +165,9 @@  discard block
 block discarded – undo
162 165
         return $this->fullMessage;
163 166
     }
164 167
 
168
+    /**
169
+     * @param string $fullMessage
170
+     */
165 171
     public function setFullMessage($fullMessage)
166 172
     {
167 173
         $this->fullMessage = $fullMessage;
@@ -207,6 +213,9 @@  discard block
 block discarded – undo
207 213
         return $this->facility;
208 214
     }
209 215
 
216
+    /**
217
+     * @param string|null $facility
218
+     */
210 219
     public function setFacility($facility)
211 220
     {
212 221
         $this->facility = $facility;
Please login to merge, or discard this patch.