Passed
Push — 1.10.x ( f75118...849f97 )
by Angel Fernando Quiroz
52:16
created
main/inc/lib/phpdocx/lib/log4php/LoggerReflectionUtils.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,6 +47,10 @@  discard block
 block discarded – undo
47 47
 	 * @static
48 48
 	 */
49 49
 	 // TODO: check, if this is really useful
50
+
51
+	/**
52
+	 * @param string $prefix
53
+	 */
50 54
 	public static function setPropertiesByObject($obj, $properties, $prefix) {
51 55
 		$pSetter = new LoggerReflectionUtils($obj);
52 56
 		return $pSetter->setProperties($properties, $prefix);
@@ -123,7 +127,7 @@  discard block
 block discarded – undo
123 127
 	/**
124 128
 	 * Creates an instances from the given class name.
125 129
 	 *
126
-	 * @param string $classname
130
+	 * @param string $class
127 131
 	 * @return an object from the class with the given classname
128 132
 	 */
129 133
 	public static function createObject($class) {
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/renderers/LoggerRendererMap.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,6 @@  discard block
 block discarded – undo
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 LoggerHierarchy $repository a logger repository.
62 61
 	 * @param string $renderedClassName
63 62
 	 * @param string $renderingClassName
64 63
 	 * @static
@@ -108,7 +107,7 @@  discard block
 block discarded – undo
108 107
 	 * class of the object parameter.
109 108
 	 * 
110 109
 	 * @param mixed $o
111
-	 * @return string
110
+	 * @return LoggerRendererObject
112 111
 	 */
113 112
 	public function getByObject($o) {
114 113
 		return ($o == null) ? null : $this->getByClassName(get_class($o));
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/pdf/include/abstract_renderer.cls.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,6 @@
 block discarded – undo
98 98
   /**
99 99
    * Render a background image over a rectangular area
100 100
    *
101
-   * @param string $img      The background image to load
102 101
    * @param float  $x        The left edge of the rectangular area
103 102
    * @param float  $y        The top edge of the rectangular area
104 103
    * @param float  $width    The width of the rectangular area
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/pdf/include/block_frame_decorator.cls.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -106,6 +106,9 @@
 block discarded – undo
106 106
       unset($this->_lines[$i]);
107 107
   }
108 108
 
109
+  /**
110
+   * @param integer $lineno
111
+   */
109 112
   function set_line($lineno, $y = null, $w = null, $h = null) {
110 113
 
111 114
     if ( is_array($y) )
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/pdf/include/canvas_factory.cls.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -54,6 +54,10 @@
 block discarded – undo
54 54
    */
55 55
   private function __construct() { }
56 56
 
57
+  /**
58
+   * @param string $paper
59
+   * @param string $orientation
60
+   */
57 61
   static function get_instance($paper = null, $orientation = null,  $class = null) {
58 62
 
59 63
     $backend = strtolower(DOMPDF_PDF_BACKEND);
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/pdf/include/cellmap.cls.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -194,6 +194,9 @@  discard block
 block discarded – undo
194 194
     return $this->_rows[$j];
195 195
   }
196 196
 
197
+  /**
198
+   * @param string $h_v
199
+   */
197 200
   function get_border($i, $j, $h_v, $prop = null) {
198 201
     if ( !isset($this->_borders[$i][$j][$h_v]) )
199 202
       $this->_borders[$i][$j][$h_v] = array("width" => 0,
@@ -318,6 +321,11 @@  discard block
 block discarded – undo
318 321
   //........................................................................
319 322
 
320 323
 
324
+  /**
325
+   * @param integer $i
326
+   * @param integer $j
327
+   * @param string $h_v
328
+   */
321 329
   protected function _resolve_border($i, $j, $h_v, $border_spec) {
322 330
     $n_width = $border_spec["width"];
323 331
     $n_style = $border_spec["style"];
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/pdf/include/cpdf_adapter.cls.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -461,6 +461,8 @@  discard block
 block discarded – undo
461 461
    * @param string cap
462 462
    * @param string join
463 463
    * @param array dash
464
+   * @param string $cap
465
+   * @param string $join
464 466
    */
465 467
   protected function _set_line_style($width, $cap, $join, $dash) {
466 468
     $this->_pdf->setLineStyle($width, $cap, $join, $dash);
@@ -496,6 +498,7 @@  discard block
 block discarded – undo
496 498
   /**
497 499
    * Convert a GIF image to a PNG image
498 500
    *
501
+   * @param string $image_url
499 502
    * @return string The url of the newly converted image
500 503
    */
501 504
   protected function _convert_gif_to_png($image_url) {
@@ -775,8 +778,8 @@  discard block
 block discarded – undo
775 778
    * @param string $font the font file to use
776 779
    * @param float $size the font size, in points
777 780
    * @param array $color
778
-   * @param float $adjust word spacing adjustment
779
-   * @param float $angle angle to write the text at, measured CW starting from the x-axis
781
+   * @param integer $adjust word spacing adjustment
782
+   * @param integer $angle angle to write the text at, measured CW starting from the x-axis
780 783
    */
781 784
   function page_text($x, $y, $text, $font, $size, $color = array(0,0,0),
782 785
                      $adjust = 0, $angle = 0) {
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/pdf/include/css_color.cls.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -190,6 +190,9 @@
 block discarded – undo
190 190
     "yellowgreen" => "9ACD32",
191 191
   );
192 192
 
193
+  /**
194
+   * @param string $colour
195
+   */
193 196
   static function parse($colour) {
194 197
     if ( is_array($colour) )
195 198
       // Assume the array has the right format...
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/pdf/include/font_metrics.cls.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
    * @param string $text the text to be sized
118 118
    * @param string $font the desired font
119 119
    * @param float  $size the desired font size
120
-   * @param float  $spacing word spacing, if any
120
+   * @param integer  $spacing word spacing, if any
121 121
    * @return float
122 122
    */
123 123
   static function get_text_width($text, $font, $size, $spacing = 0) {
@@ -234,6 +234,9 @@  discard block
 block discarded – undo
234 234
     return self::$_font_lookup;
235 235
   }
236 236
 
237
+  /**
238
+   * @param string $fontname
239
+   */
237 240
   static function set_font_family($fontname, $entry) {
238 241
     self::$_font_lookup[mb_strtolower($fontname)] = $entry;
239 242
   }
Please login to merge, or discard this patch.