Passed
Pull Request — master (#24)
by Felipe
05:18 queued 01:55
created
src/graph/PolarAxis.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
     private $show_angle_tick          = true;
29 29
     private $radius_tick_color        = 'black';
30 30
 
31
+    /**
32
+     * @param \Amenadiel\JpGraph\Image\RotImage $img
33
+     */
31 34
     public function __construct($img, $aScale)
32 35
     {
33 36
         parent::__construct($img, $aScale);
Please login to merge, or discard this patch.
src/image/LinkArrow.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -18,6 +18,10 @@  discard block
 block discarded – undo
18 18
     private $iSize      = ARROW_S2;
19 19
     private $iColor     = 'black';
20 20
 
21
+    /**
22
+     * @param integer $x
23
+     * @param integer $aDirection
24
+     */
21 25
     public function __construct($x, $y, $aDirection, $aType = ARROWT_SOLID, $aSize = ARROW_S2)
22 26
     {
23 27
         $this->iDirection = $aDirection;
@@ -27,6 +31,9 @@  discard block
 block discarded – undo
27 31
         $this->iy         = $y;
28 32
     }
29 33
 
34
+    /**
35
+     * @param string $aColor
36
+     */
30 37
     public function SetColor($aColor)
31 38
     {
32 39
         $this->iColor = $aColor;
Please login to merge, or discard this patch.
src/image/RotImage.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
     public $transy = 0;
16 16
     private $m     = array();
17 17
 
18
+    /**
19
+     * @param string $aFormat
20
+     */
18 21
     public function __construct($aWidth, $aHeight, $a = 0, $aFormat = DEFAULT_GFORMAT, $aSetAutoMargin = true)
19 22
     {
20 23
         parent::__construct($aWidth, $aHeight, $aFormat, $aSetAutoMargin);
@@ -23,6 +26,10 @@  discard block
 block discarded – undo
23 26
         $this->SetAngle($a);
24 27
     }
25 28
 
29
+    /**
30
+     * @param double $dx
31
+     * @param double $dy
32
+     */
26 33
     public function SetCenter($dx, $dy)
27 34
     {
28 35
         $old_dx   = $this->dx;
@@ -70,6 +77,11 @@  discard block
 block discarded – undo
70 77
         parent::Circle($xc, $yc, $r);
71 78
     }
72 79
 
80
+    /**
81
+     * @param integer $xc
82
+     * @param integer $yc
83
+     * @param integer $r
84
+     */
73 85
     public function FilledCircle($xc, $yc, $r)
74 86
     {
75 87
         list($xc, $yc) = $this->Rotate($xc, $yc);
@@ -112,6 +124,10 @@  discard block
 block discarded – undo
112 124
         }
113 125
     }
114 126
 
127
+    /**
128
+     * @param integer $fromX
129
+     * @param integer $fromY
130
+     */
115 131
     public function CopyMerge($fromImg, $toX, $toY, $fromX, $fromY, $toWidth, $toHeight, $fromWidth = -1, $fromHeight = -1, $aMix = 100)
116 132
     {
117 133
         list($toX, $toY) = $this->Rotate($toX, $toY);
Please login to merge, or discard this patch.