Completed
Branch master (d77618)
by Florian
06:00
created
lib/Payone/Log4php/Logger.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
 	/**
86 86
 	 * Returns the parent Logger. Can be null if this is the root logger.
87
-	 * @return Logger
87
+	 * @return Payone_Log4php_Logger
88 88
 	 */
89 89
 	public function getParent() {
90 90
 		return $this->parent;
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
 
396 396
 	/**
397 397
 	 * Sets the parent logger.
398
-	 * @param Logger $logger
398
+	 * @param Payone_Log4php_Logger $logger
399 399
 	 */
400 400
 	public function setParent(Payone_Log4php_Logger $logger) {
401 401
 		$this->parent = $logger;
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
 	
454 454
 	/**
455 455
 	 * Clears all Logger definitions from the logger hierarchy.
456
-	 * @return boolean
456
+	 * @return boolean|null
457 457
 	 */
458 458
 	public static function clear() {
459 459
 		return self::getHierarchy()->clear();
Please login to merge, or discard this patch.
lib/Payone/Log4php/LoggerConfigurationAdapterXML.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -69,6 +69,7 @@  discard block
 block discarded – undo
69 69
 	/**
70 70
 	 * Loads and validates the XML.
71 71
 	 * @param string $url Input XML.
72
+	 * @return SimpleXMLElement
72 73
 	 */
73 74
 	private function loadXML($url) {
74 75
 		if (!file_exists($url)) {
@@ -213,6 +214,7 @@  discard block
 block discarded – undo
213 214
 	
214 215
 	/** 
215 216
 	 * Parses a <logger> node for appender references and returns them in an array.
217
+	 * @param string $name
216 218
 	 */
217 219
 	private function parseAppenderReferences(SimpleXMLElement $node, $name) {
218 220
 		$refs = array();
@@ -247,6 +249,9 @@  discard block
 block discarded – undo
247 249
 	// ** Helper methods                       **
248 250
 	// ******************************************
249 251
 	
252
+	/**
253
+	 * @param string $name
254
+	 */
250 255
 	private function getAttributeValue(SimpleXMLElement $node, $name) {
251 256
 		return isset($node[$name]) ? (string) $node[$name] : null;
252 257
 	}
Please login to merge, or discard this patch.
lib/Payone/Log4php/LoggerConfiguratorDefault.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -404,7 +404,7 @@
 block discarded – undo
404 404
 	/**
405 405
 	 * Configures a logger. 
406 406
 	 * 
407
-	 * @param Logger $logger The logger to configure
407
+	 * @param Payone_Log4php_Logger $logger The logger to configure
408 408
 	 * @param array $config Logger configuration options.
409 409
 	 */
410 410
 	private function configureLogger(Payone_Log4php_Logger $logger, $config) {
Please login to merge, or discard this patch.
lib/Payone/Log4php/LoggerFilterLevelMatch.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,6 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
lib/Payone/Log4php/LoggerFilterLevelRange.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -87,14 +87,12 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
lib/Payone/Log4php/LoggerFilterStringMatch.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,6 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
lib/Payone/Log4php/LoggerHierarchy.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
lib/Payone/Log4php/LoggerLevel.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
lib/Payone/Log4php/LoggerLocationInfo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.