Completed
Push — 2.0.0 ( c51625...a3b0a5 )
by John
04:21
created
Alpha/Util/Config/ConfigProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
     /**
116 116
      * Get config value.
117 117
      *
118
-     * @param $key string
118
+     * @param string $key string
119 119
      *
120 120
      * @return string
121 121
      *
Please login to merge, or discard this patch.
Alpha/Util/Email/EmailProviderFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,11 +63,11 @@
 block discarded – undo
63 63
      * A static method that attempts to return a EmailProviderInterface instance
64 64
      * based on the name of the provider class supplied.
65 65
      *
66
-     * @param $providerName The class name of the provider class (fully qualified).
66
+     * @param string $providerName The class name of the provider class (fully qualified).
67 67
      *
68 68
      * @throws Alpha\Exception\IllegalArguementException
69 69
      *
70
-     * @return Alpha\Util\Http\Email\EmailProviderInterface
70
+     * @return EmailProviderInterface|null
71 71
      *
72 72
      * @since 2.0
73 73
      */
Please login to merge, or discard this patch.
Alpha/Util/Extension/TCPDF.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
      * @param string $file    Name of the file containing the image.
69 69
      * @param float  $x       Abscissa of the upper-left corner.
70 70
      * @param float  $y       Ordinate of the upper-left corner.
71
-     * @param float  $w       Width of the image in the page. If not specified or equal to zero, it is automatically calculated.
72
-     * @param float  $h       Height of the image in the page. If not specified or equal to zero, it is automatically calculated.
71
+     * @param integer  $w       Width of the image in the page. If not specified or equal to zero, it is automatically calculated.
72
+     * @param integer  $h       Height of the image in the page. If not specified or equal to zero, it is automatically calculated.
73 73
      * @param string $type    Image format. Possible values are (case insensitive): JPEG and PNG (whitout GD library) and all images supported by GD: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM;. If not specified, the type is inferred from the file extension.
74 74
      * @param mixed  $link    URL or identifier returned by AddLink().
75 75
      * @param string $align   Indicates the alignment of the pointer next to image insertion relative to image height. The value can be:<ul><li>T: top-right for LTR or top-left for RTL</li><li>M: middle-right for LTR or middle-left for RTL</li><li>B: bottom-right for LTR or bottom-left for RTL</li><li>N: next line</li></ul>
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * @param string $palign  Allows to center or align the image on the current line. Possible values are:<ul><li>L : left align</li><li>C : center</li><li>R : right align</li><li>'' : empty string : left for LTR or right for RTL</li></ul>
79 79
      * @param bool   $ismask  true if this image is a mask, false otherwise
80 80
      * @param mixed  $imgmask image object returned by this function or false
81
-     * @param mixed  $border  Indicates if borders must be drawn around the image. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
81
+     * @param integer  $border  Indicates if borders must be drawn around the image. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
82 82
      *
83 83
      * @since 1.0
84 84
      */
Please login to merge, or discard this patch.
Alpha/Util/Extension/TCPDFFacade.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     /**
110 110
      * The constructor.
111 111
      *
112
-     * @param Alpha\Model\ActiveRecord $BO the business object that stores the content will be rendered to Markdown
112
+     * @param \Alpha\Model\Article $BO the business object that stores the content will be rendered to Markdown
113 113
      *
114 114
      * @since 1.0
115 115
      *
Please login to merge, or discard this patch.
Alpha/Util/File/FileUtils.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -541,7 +541,7 @@  discard block
 block discarded – undo
541 541
      * @param string $sourceDir    The path to the source directory.
542 542
      * @param string $fileList     The HTML list of files generated (pass by reference).
543 543
      * @param int    $fileCount    The current file count (used in recursive calls).
544
-     * @param array  $excludeFiles An array of file names to exclude from the list rendered.
544
+     * @param string[]  $excludeFiles An array of file names to exclude from the list rendered.
545 545
      *
546 546
      * @return int The current filecount for the directory.
547 547
      *
@@ -578,7 +578,7 @@  discard block
 block discarded – undo
578 578
      * Recursively deletes the contents of the directory indicated (the directory itself is not deleted).
579 579
      *
580 580
      * @param string $sourceDir    The path to the source directory.
581
-     * @param array  $excludeFiles An array of file names to exclude from the deletion.
581
+     * @param string[]  $excludeFiles An array of file names to exclude from the deletion.
582 582
      *
583 583
      * @throws Alpha\Exception\AlphaException
584 584
      *
Please login to merge, or discard this patch.
Alpha/Util/Graph/GraphNode.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
     /**
285 285
      * Get the node offset.
286 286
      *
287
-     * @return string
287
+     * @return integer
288 288
      *
289 289
      * @since 1.0
290 290
      */
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
     /**
461 461
      * Calculates and returns the midpoint X coordinate of the children of this node.
462 462
      *
463
-     * @return int
463
+     * @return double
464 464
      *
465 465
      * @since 1.0
466 466
      */
Please login to merge, or discard this patch.
Alpha/Util/Http/Request.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -389,9 +389,9 @@
 block discarded – undo
389 389
      * Get the param matching the key provided.
390 390
      *
391 391
      * @param string $key     The key to search for
392
-     * @param mixed  $default If key is not found, return this instead
392
+     * @param string|false  $default If key is not found, return this instead
393 393
      *
394
-     * @return mixed
394
+     * @return string
395 395
      *
396 396
      * @since 2.0
397 397
      */
Please login to merge, or discard this patch.
Alpha/Util/Http/Response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
     /**
178 178
      * Get the response body.
179 179
      *
180
-     * @return string|null
180
+     * @return string
181 181
      *
182 182
      * @since 2.0
183 183
      */
Please login to merge, or discard this patch.
Alpha/Util/Http/Session/SessionProviderFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      *
68 68
      * @throws Alpha\Exception\IllegalArguementException
69 69
      *
70
-     * @return Alpha\Util\Http\Session\SessionProviderInterface
70
+     * @return SessionProviderInterface|null
71 71
      *
72 72
      * @since 2.0
73 73
      */
Please login to merge, or discard this patch.