@@ -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 | |
@@ -64,6 +64,8 @@ |
||
| 64 | 64 | /** |
| 65 | 65 | * Attempts to shorten the given name to the desired length by trimming |
| 66 | 66 | * name fragments. See docs for examples. |
| 67 | + * @param string $name |
|
| 68 | + * @param integer $length |
|
| 67 | 69 | */ |
| 68 | 70 | private function shorten($name, $length) { |
| 69 | 71 | |
@@ -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)); |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | /** |
| 61 | 61 | * Always returns false. |
| 62 | 62 | * Because LoggerRoot has no parents, it returns false. |
| 63 | - * @param Logger $parent |
|
| 63 | + * @param Payone_Log4php_Logger $parent |
|
| 64 | 64 | * @return boolean |
| 65 | 65 | */ |
| 66 | 66 | public function setParent(Payone_Log4php_Logger $parent) { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * @param $key |
|
| 37 | + * @param string $key |
|
| 38 | 38 | * @return Payone_Settings_Service_XmlGenerate |
| 39 | 39 | * |
| 40 | 40 | * @throws Exception |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @api |
| 50 | 50 | * |
| 51 | 51 | * @param Payone_Settings_Data_ConfigFile_Root $config |
| 52 | - * @return mixed @see SimpleXMLElement::asXml() |
|
| 52 | + * @return string @see SimpleXMLElement::asXml() |
|
| 53 | 53 | */ |
| 54 | 54 | public function generate(Payone_Settings_Data_ConfigFile_Root $config) |
| 55 | 55 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * @api |
| 75 | 75 | * |
| 76 | 76 | * @param Payone_Settings_Data_ConfigFile_Root $config |
| 77 | - * @return mixed @see SimpleXMLElement::asXml() |
|
| 77 | + * @return string|false @see SimpleXMLElement::asXml() |
|
| 78 | 78 | */ |
| 79 | 79 | public function execute(Payone_Settings_Data_ConfigFile_Root $config) |
| 80 | 80 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | /** |
| 126 | 126 | * @param Payone_Settings_Data_ConfigFile_Shop $shopConfig |
| 127 | 127 | * @param DOMElement $configXml |
| 128 | - * @return string |
|
| 128 | + * @return DOMElement |
|
| 129 | 129 | */ |
| 130 | 130 | protected function mapShop(Payone_Settings_Data_ConfigFile_Shop $shopConfig, DOMElement $configXml) |
| 131 | 131 | { |
@@ -366,6 +366,10 @@ discard block |
||
| 366 | 366 | $this->addGlobal($cleatringTypeNode, $valueClearingType); |
| 367 | 367 | } |
| 368 | 368 | |
| 369 | + /** |
|
| 370 | + * @param DOMElement $parent |
|
| 371 | + * @param Payone_Settings_Data_ConfigFile_PaymentMethod_Abstract $type |
|
| 372 | + */ |
|
| 369 | 373 | public function addGlobal($parent, $type) |
| 370 | 374 | { |
| 371 | 375 | |
@@ -401,7 +405,7 @@ discard block |
||
| 401 | 405 | /** |
| 402 | 406 | * @param DOMElement $parent |
| 403 | 407 | * @param $object |
| 404 | - * @param $property |
|
| 408 | + * @param string $property |
|
| 405 | 409 | * @param bool $withCdata |
| 406 | 410 | * @return DOMElement |
| 407 | 411 | */ |