@@ -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; |
@@ -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 | |
@@ -199,7 +199,7 @@ |
||
| 199 | 199 | * Parses the formatting modifiers and produces the corresponding |
| 200 | 200 | * LoggerFormattingInfo object. |
| 201 | 201 | * |
| 202 | - * @param string $modifier |
|
| 202 | + * @param string $modifiers |
|
| 203 | 203 | * @return Payone_Log4php_LoggerFormattingInfo |
| 204 | 204 | * @throws LoggerException |
| 205 | 205 | */ |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | /** |
| 124 | 124 | * Creates an instances from the given class name. |
| 125 | 125 | * |
| 126 | - * @param string $classname |
|
| 126 | + * @param string $class |
|
| 127 | 127 | * @return an object from the class with the given classname |
| 128 | 128 | */ |
| 129 | 129 | public static function createObject($class) { |
@@ -58,7 +58,6 @@ discard block |
||
| 58 | 58 | * Add a renderer to a hierarchy passed as parameter. |
| 59 | 59 | * Note that hierarchy must implement getRendererMap() and setRenderer() methods. |
| 60 | 60 | * |
| 61 | - * @param Payone_Log4php_LoggerHierarchy $repository a logger repository. |
|
| 62 | 61 | * @param string $renderedClassName |
| 63 | 62 | * @param string $renderingClassName |
| 64 | 63 | */ |
@@ -107,7 +106,7 @@ discard block |
||
| 107 | 106 | * class of the object parameter. |
| 108 | 107 | * |
| 109 | 108 | * @param mixed $o |
| 110 | - * @return string |
|
| 109 | + * @return Payone_Log4php_LoggerRendererObject |
|
| 111 | 110 | */ |
| 112 | 111 | public function getByObject($o) { |
| 113 | 112 | return ($o == null) ? null : $this->getByClassName(get_class($o)); |