Completed
Push — master ( d843ac...6af213 )
by Lukas
02:36 queued 26s
created
src/GreyLogException/GreyLogException.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
      * Seaches the key of the given class constant value.
234 234
      * @param array $_aExceptionDetails The value of an exception constant.
235 235
      * @param string $_sExceptionClass The class the exception constant has to be searched.
236
-     * @return mixed the key for <i>needle</i> if it is found in the array, <b>FALSE</b> otherwise.
236
+     * @return false|string the key for <i>needle</i> if it is found in the array, <b>FALSE</b> otherwise.
237 237
      * @todo Could be cached with storing all exceptions in opCache
238 238
      */
239 239
     public function getExceptionCode($_aExceptionDetails, $_sExceptionClass) {
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
 
384 384
     /**
385 385
      * Sets the ShortMessage and returns message object.
386
-     * @return Gelf\Message Sets the ShortMessage and returns message object.
386
+     * @return \Gelf\Message Sets the ShortMessage and returns message object.
387 387
      */
388 388
     private function setShortMessage() {
389 389
         return $this->gelfMessage->setShortMessage($this->iExceptionCode . ":" . $this->sExceptionShortMessage);
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
 
392 392
     /**
393 393
      * Sets the Message and returns message object.
394
-     * @return Gelf\Message Sets the Message and returns message object.
394
+     * @return \Gelf\Message Sets the Message and returns message object.
395 395
      */
396 396
     private function setMessage() {
397 397
         return $this->gelfMessage->setFullMessage($this->sExceptionMessage);
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
 
400 400
     /**
401 401
      * Sets the Level and returns message object.
402
-     * @return Gelf\Message Sets the Level and returns message object.
402
+     * @return \Gelf\Message Sets the Level and returns message object.
403 403
      */
404 404
     private function setLevel() {
405 405
         return $this->gelfMessage->setLevel($this->sExceptionLevel);
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
 
408 408
     /**
409 409
      * Sets the Facility and returns message object.
410
-     * @return Gelf\Message Sets the Facility and returns message object.
410
+     * @return \Gelf\Message Sets the Facility and returns message object.
411 411
      */
412 412
     private function setFacility() {
413 413
         return $this->gelfMessage->setFacility($this->sApplication);
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
 
416 416
     /**
417 417
      * Sets additional details from exception object and returns message object.
418
-     * @return Gelf\Message Sets the additional details from exception object and returns message object.
418
+     * @return \Gelf\Message Sets the additional details from exception object and returns message object.
419 419
      */
420 420
     private function setAdditionals() {
421 421
         $this->gelfMessage->setAdditional('ModuleName', $this->sModuleName);
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
     /**
431 431
      * Checks if function/method parameters are equal to function declaration and logs warning if not.
432 432
      * Gets all names of function/method parameters and its values and adds it to message object as additional.
433
-     * @return Gelf\Message Sets additional details to message object and returns the message object.
433
+     * @return \Gelf\Message Sets additional details to message object and returns the message object.
434 434
      */
435 435
     private function addParameters() {
436 436
         //get function/method parameters and parameters function was called
Please login to merge, or discard this patch.