@@ -67,7 +67,6 @@ |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @param string $l the level to match |
|
| 71 | 70 | */ |
| 72 | 71 | public function setLevelToMatch($level) { |
| 73 | 72 | $this->setLevel('levelToMatch', $level); |
@@ -87,14 +87,12 @@ |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * @param string $l the level min to match |
|
| 91 | 90 | */ |
| 92 | 91 | public function setLevelMin($level) { |
| 93 | 92 | $this->setLevel('levelMin', $level); |
| 94 | 93 | } |
| 95 | 94 | |
| 96 | 95 | /** |
| 97 | - * @param string $l the level max to match |
|
| 98 | 96 | */ |
| 99 | 97 | public function setLevelMax($level) { |
| 100 | 98 | $this->setLevel('levelMax', $level); |
@@ -65,7 +65,6 @@ |
||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @param string $s the string to match |
|
| 69 | 68 | */ |
| 70 | 69 | public function setStringToMatch($string) { |
| 71 | 70 | $this->setString('stringToMatch', $string); |
@@ -213,7 +213,6 @@ |
||
| 213 | 213 | |
| 214 | 214 | /** |
| 215 | 215 | * Sets the main threshold level. |
| 216 | - * @param Payone_Log4php_LoggerLevel $l |
|
| 217 | 216 | */ |
| 218 | 217 | public function setThreshold(Payone_Log4php_LoggerLevel $threshold) { |
| 219 | 218 | $this->threshold = $threshold; |
@@ -73,8 +73,8 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Compares two logger levels. |
| 75 | 75 | * |
| 76 | - * @param LoggerLevels $other |
|
| 77 | - * @return boolean |
|
| 76 | + * @param Payone_Log4php_LoggerLevel $other |
|
| 77 | + * @return boolean|null |
|
| 78 | 78 | */ |
| 79 | 79 | public function equals($other) { |
| 80 | 80 | if($other instanceof Payone_Log4php_LoggerLevel) { |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | * this method returns the provided default level. |
| 224 | 224 | * |
| 225 | 225 | * @param mixed $arg The value to convert to level. |
| 226 | - * @param Payone_Log4php_LoggerLevel $default Value to return if conversion is not possible. |
|
| 226 | + * @param Payone_Log4php_LoggerLevel $defaultLevel Value to return if conversion is not possible. |
|
| 227 | 227 | * @return Payone_Log4php_LoggerLevel |
| 228 | 228 | */ |
| 229 | 229 | public static function toLevel($arg, $defaultLevel = null) { |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | * Instantiate location information based on a {@link PHP_MANUAL#debug_backtrace}. |
| 63 | 63 | * |
| 64 | 64 | * @param array $trace |
| 65 | - * @param mixed $caller |
|
| 65 | + * @param string $fqcn |
|
| 66 | 66 | */ |
| 67 | 67 | public function __construct($trace, $fqcn = null) { |
| 68 | 68 | $this->lineNumber = isset($trace['line']) ? $trace['line'] : null; |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | * LoggerLoggingEvent are filled when actually needed. |
| 120 | 120 | * |
| 121 | 121 | * @param string $fqcn name of the caller class. |
| 122 | - * @param mixed $logger The {@link Logger} category of this event or the logger name. |
|
| 122 | + * @param Payone_Log4php_Logger $logger The {@link Logger} category of this event or the logger name. |
|
| 123 | 123 | * @param Payone_Log4php_LoggerLevel $priority The level of this event. |
| 124 | 124 | * @param mixed $message The message of this event. |
| 125 | 125 | * @param integer $timeStamp the timestamp of this logging event. |
@@ -314,7 +314,7 @@ discard block |
||
| 314 | 314 | |
| 315 | 315 | /** |
| 316 | 316 | * Calculates the time of this event. |
| 317 | - * @return the time after event starttime when this event has occured |
|
| 317 | + * @return string time after event starttime when this event has occured |
|
| 318 | 318 | */ |
| 319 | 319 | public function getTime() { |
| 320 | 320 | $eventTime = $this->getTimeStamp(); |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | } |
| 334 | 334 | |
| 335 | 335 | /** |
| 336 | - * @return mixed LoggerThrowableInformation |
|
| 336 | + * @return Payone_Log4php_LoggerThrowableInformation LoggerThrowableInformation |
|
| 337 | 337 | */ |
| 338 | 338 | public function getThrowableInformation() { |
| 339 | 339 | return $this->throwableInfo; |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | 114 | * Never use this method directly, use the {@link LoggerLoggingEvent::getNDC()} method instead. |
| 115 | - * @return array |
|
| 115 | + * @return string |
|
| 116 | 116 | */ |
| 117 | 117 | public static function get() { |
| 118 | 118 | return implode(' ', self::$stack); |
@@ -73,6 +73,7 @@ |
||
| 73 | 73 | * converters must implement this method. |
| 74 | 74 | * |
| 75 | 75 | * @param Payone_Log4php_LoggerLoggingEvent $event |
| 76 | + * @return string |
|
| 76 | 77 | */ |
| 77 | 78 | abstract public function convert(Payone_Log4php_LoggerLoggingEvent $event); |
| 78 | 79 | |