Completed
Push — develop ( 3d25fb...24403a )
by Remco
07:26
created
src/Money.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * Construct and initialize money object.
36 36
 	 *
37
-	 * @param string|int|float     $amount   Amount.
38
-	 * @param Currency|string|null $currency Currency.
37
+	 * @param integer     $amount   Amount.
38
+	 * @param string $currency Currency.
39 39
 	 */
40 40
 	public function __construct( $amount = 0, $currency = null ) {
41 41
 		$this->set_amount( $amount );
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 	/**
93 93
 	 * Set amount.
94 94
 	 *
95
-	 * @param mixed $amount Amount.
95
+	 * @param integer $amount Amount.
96 96
 	 */
97 97
 	public function set_amount( $amount ) {
98 98
 		$this->amount = floatval( $amount );
Please login to merge, or discard this patch.
src/Parser.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 	 *
23 23
 	 * @link https://github.com/wp-pay/core/blob/2.0.2/src/Core/Util.php#L128-L176
24 24
 	 *
25
-	 * @param string $money
26 25
 	 * @return Money
27 26
 	 */
28 27
 	public function parse( $string ) {
Please login to merge, or discard this patch.