Passed
Push — 1.10.x ( f75118...849f97 )
by Angel Fernando Quiroz
52:16
created
main/inc/lib/phpdocx/lib/log4php/appenders/LoggerAppenderSocket.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -225,6 +225,7 @@
 block discarded – undo
225 225
 	
226 226
 	/**
227 227
 	 * @param mixed
228
+	 * @param boolean $flag
228 229
 	 */
229 230
 	public function setUseXml($flag) {
230 231
 		$this->useXml = LoggerOptionConverter::toBoolean($flag, $this->getUseXml());
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/configurators/LoggerConfiguratorIni.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,6 @@
 block discarded – undo
279 279
 	 * 
280 280
 	 * @param string $url The name of the configuration file where the
281 281
 	 *					  configuration information is stored.
282
-	 * @param LoggerHierarchy $repository the repository to apply the configuration
283 282
 	 */
284 283
 	public function configure(LoggerHierarchy $hierarchy, $url = '') {
285 284
 		$properties = @parse_ini_file($url);
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/helpers/LoggerPatternParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -237,6 +237,9 @@
 block discarded – undo
237 237
 		return $this->head;
238 238
 	}
239 239
 
240
+	/**
241
+	 * @param string $c
242
+	 */
240 243
 	public function finalizeConverter($c) {
241 244
 		$pc = null;
242 245
 		switch($c) {
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/layouts/LoggerLayoutPattern.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -169,6 +169,7 @@
 block discarded – undo
169 169
 	 * Set the <b>ConversionPattern</b> option. This is the string which
170 170
 	 * controls formatting and consists of a mix of literal content and
171 171
 	 * conversion specifiers.
172
+	 * @param string $conversionPattern
172 173
 	 */
173 174
 	public function setConversionPattern($conversionPattern) {
174 175
 		$this->pattern = $conversionPattern;
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/Logger.php 1 patch
Doc Comments   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
 	/**
241 241
 	 * Log a message object with the ERROR level including the caller.
242 242
 	 *
243
-	 * @param mixed $message message
243
+	 * @param string $message message
244 244
 	 * @param mixed $caller caller object or caller string id
245 245
 	 */
246 246
 	public function error($message, $caller = null) {
@@ -286,6 +286,7 @@  discard block
 block discarded – undo
286 286
 	 * Check whether this category is enabled for a given Level passed as parameter.
287 287
 	 *
288 288
 	 * @param LoggerLevel level
289
+	 * @param LoggerLevel $level
289 290
 	 * @return boolean
290 291
 	 */
291 292
 	public function isEnabledFor($level) {
@@ -326,6 +327,9 @@  discard block
 block discarded – undo
326 327
 		}
327 328
 	}
328 329
 	 
330
+	/**
331
+	 * @param LoggerLevel $level
332
+	 */
329 333
 	private function logLevel($message, $level, $caller = null) {
330 334
 		if($level->isGreaterOrEqual($this->getEffectiveLevel())) {
331 335
 			$this->forcedLog($this->fqcn, $caller, $level, $message);
@@ -338,7 +342,6 @@  discard block
 block discarded – undo
338 342
 	 * Get a Logger by name (Delegate to {@link Logger})
339 343
 	 * 
340 344
 	 * @param string $name logger name
341
-	 * @param LoggerFactory $factory a {@link LoggerFactory} instance or null
342 345
 	 * @return Logger
343 346
 	 * @static 
344 347
 	 */
@@ -474,7 +477,7 @@  discard block
 block discarded – undo
474 477
 	 * Clears all logger definitions
475 478
 	 * 
476 479
 	 * @static
477
-	 * @return boolean 
480
+	 * @return boolean|null 
478 481
 	 */
479 482
 	public static function clear() {
480 483
 		return self::getHierarchy()->clear();	 
@@ -484,7 +487,7 @@  discard block
 block discarded – undo
484 487
 	 * Destroy configurations for logger definitions
485 488
 	 * 
486 489
 	 * @static
487
-	 * @return boolean 
490
+	 * @return boolean|null 
488 491
 	 */
489 492
 	public static function resetConfiguration() {
490 493
 		$result = self::getHierarchy()->resetConfiguration();
@@ -592,7 +595,7 @@  discard block
 block discarded – undo
592 595
 	
593 596
 	/**
594 597
 	 * Returns the current configurator
595
-	 * @return the configurator
598
+	 * @return string configurator
596 599
 	 */
597 600
 	public static function getConfigurationClass() {
598 601
 		return self::$configurationClass;
@@ -600,7 +603,7 @@  discard block
 block discarded – undo
600 603
 	
601 604
 	/**
602 605
 	 * Returns the current configuration file
603
-	 * @return the configuration file
606
+	 * @return null|string configuration file
604 607
 	 */
605 608
 	public static function getConfigurationFile() {
606 609
 		return self::$configurationFile;
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/LoggerAppender.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
 	/**
210 210
 	 * Set the threshold level of this appender.
211 211
 	 *
212
-	 * @param mixed $threshold can be a {@link LoggerLevel} object or a string.
212
+	 * @param LoggerLevel $threshold can be a {@link LoggerLevel} object or a string.
213 213
 	 * @see LoggerOptionConverter::toLevel()
214 214
 	 */
215 215
 	public function setThreshold($threshold) {
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/LoggerHierarchy.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	
72 72
 	/**
73 73
 	 * Create a new logger hierarchy.
74
-	 * @param object $root the root logger
74
+	 * @param LoggerRoot $root the root logger
75 75
 	 */
76 76
 	public function __construct(LoggerRoot $root) {
77 77
 		$this->root = $root;
@@ -107,7 +107,6 @@  discard block
 block discarded – undo
107 107
 	 * Return a new logger instance named as the first parameter using the default factory.
108 108
 	 * 
109 109
 	 * @param string $name logger name
110
-	 * @param LoggerFactory $factory a {@link LoggerFactory} instance or null	  
111 110
 	 * @return Logger
112 111
 	 */
113 112
 	public function getLogger($name) {
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/LoggerLevel.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@  discard block
 block discarded – undo
78 78
 	/**
79 79
 	 * Two priorities are equal if their level fields are equal.
80 80
 	 *
81
-	 * @param object $o
82
-	 * @return boolean 
81
+	 * @param LoggerLevel $o
82
+	 * @return boolean|null 
83 83
 	 */
84 84
 	public function equals($o) {
85 85
 		if($o instanceof LoggerLevel) {
@@ -220,8 +220,8 @@  discard block
 block discarded – undo
220 220
 	 * Convert the string passed as argument to a level. If the
221 221
 	 * conversion fails, then this method returns a DEBUG Level.
222 222
 	 *
223
-	 * @param mixed $arg
224
-	 * @param LoggerLevel $default
223
+	 * @param string $arg
224
+	 * @param LoggerLevel $defaultLevel
225 225
 	 * @static 
226 226
 	 */
227 227
 	public static function toLevel($arg, $defaultLevel = null) {
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/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.