Completed
Push — master ( 23ba22...03d1bf )
by Adam
03:02
created
src/Geography/Coordinate.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Returns a degrees/minutes/seconds representation of the coordinate
117 117
      *
118
-     * @return String
118
+     * @return StringLiteral
119 119
      */
120 120
     public function toDegreesMinutesSeconds()
121 121
     {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * Returns a decimal minutes representation of the coordinate
131 131
      *
132
-     * @return String
132
+     * @return StringLiteral
133 133
      */
134 134
     public function toDecimalMinutes()
135 135
     {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * Returns a Universal Transverse Mercator projection representation of the coordinate in meters
145 145
      *
146
-     * @return String
146
+     * @return StringLiteral
147 147
      */
148 148
     public function toUniversalTransverseMercator()
149 149
     {
Please login to merge, or discard this patch.
src/Geography/Country.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * Returns a new Country object given a native PHP string country code
15 15
      *
16
-     * @param  string $code
17 16
      * @return self
18 17
      */
19 18
     public static function fromNative()
@@ -63,7 +62,7 @@  discard block
 block discarded – undo
63 62
     /**
64 63
      * Returns country name
65 64
      *
66
-     * @return String
65
+     * @return \ValueObjects\StringLiteral\StringLiteral
67 66
      */
68 67
     public function getName()
69 68
     {
Please login to merge, or discard this patch.
src/Geography/Street.php 1 patch
Doc Comments   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -26,9 +26,6 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Returns a new Street from native PHP string name and number.
28 28
      *
29
-     * @param string $name
30
-     * @param string $number
31
-     * @param string $elements
32 29
      *
33 30
      * @return Street
34 31
      * @throws \BadFunctionCallException
@@ -57,8 +54,8 @@  discard block
 block discarded – undo
57 54
     /**
58 55
      * Returns a new Street object
59 56
      *
60
-     * @param String $name
61
-     * @param String $number
57
+     * @param StringLiteral $name
58
+     * @param StringLiteral $number
62 59
      */
63 60
     public function __construct(StringLiteral $name, StringLiteral $number, StringLiteral $elements = NULL, StringLiteral $format = NULL)
64 61
     {
@@ -97,7 +94,7 @@  discard block
 block discarded – undo
97 94
     /**
98 95
      * Returns street name
99 96
      *
100
-     * @return String
97
+     * @return StringLiteral
101 98
      */
102 99
     public function getName()
103 100
     {
@@ -107,7 +104,7 @@  discard block
 block discarded – undo
107 104
     /**
108 105
      * Returns street number
109 106
      *
110
-     * @return String
107
+     * @return StringLiteral
111 108
      */
112 109
     public function getNumber()
113 110
     {
Please login to merge, or discard this patch.
src/Identity/UUID.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
     protected $value;
15 15
 
16 16
     /**
17
-     * @param  string                                                 $uuid
18 17
      * @return UUID
19 18
      * @throws \ValueObjects\Exception\InvalidNativeArgumentException
20 19
      */
Please login to merge, or discard this patch.
src/Money/Currency.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
     /**
18 18
      * Returns a new Currency object from native string currency code
19 19
      *
20
-     * @param  string $code Currency code
21 20
      * @return static
22 21
      */
23 22
     public static function fromNative()
Please login to merge, or discard this patch.
src/Money/Money.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,8 +21,6 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Returns a Money object from native int amount and string currency code
23 23
      *
24
-     * @param  int    $amount   Amount expressed in the smallest units of $currency (e.g. cents)
25
-     * @param  string $currency Currency code of the money object
26 24
      * @return static
27 25
      */
28 26
     public static function fromNative()
@@ -105,7 +103,7 @@  discard block
 block discarded – undo
105 103
      * Use 0 < Real $multipler < 1 for division.
106 104
      *
107 105
      * @param  Real  $multiplier
108
-     * @param  mixed $rounding_mode Rounding mode of the operation. Defaults to RoundingMode::HALF_UP.
106
+     * @param  null|RoundingMode $rounding_mode Rounding mode of the operation. Defaults to RoundingMode::HALF_UP.
109 107
      * @return Money
110 108
      */
111 109
     public function multiply(Real $multiplier, RoundingMode $rounding_mode = null)
Please login to merge, or discard this patch.
src/Number/Complex.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,8 +16,6 @@  discard block
 block discarded – undo
16 16
     /**
17 17
      * Returns a new Complex object from native PHP arguments
18 18
      *
19
-     * @param  float                        $real Real part of the complex number
20
-     * @param  float                        $im   Imaginary part of the complex number
21 19
      * @return Complex|ValueObjectInterface
22 20
      * @throws \BadMethodCallException
23 21
      */
@@ -79,7 +77,7 @@  discard block
 block discarded – undo
79 77
     /**
80 78
      * Returns the native value of the real and imaginary parts as an array
81 79
      *
82
-     * @return array
80
+     * @return double[]
83 81
      */
84 82
     public function toNative()
85 83
     {
Please login to merge, or discard this patch.
src/Number/Real.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Returns a Real object given a PHP native float as parameter.
16 16
      *
17
-     * @param  float $number
18 17
      *
19 18
      * @return static
20 19
      */
@@ -28,7 +27,6 @@  discard block
 block discarded – undo
28 27
     /**
29 28
      * Returns a Real object given a PHP native float as parameter.
30 29
      *
31
-     * @param float $number
32 30
      */
33 31
     public function __construct($value)
34 32
     {
Please login to merge, or discard this patch.
src/Person/Name.php 1 patch
Doc Comments   +7 added lines, -10 removed lines patch added patch discarded remove patch
@@ -32,9 +32,6 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Returns a Name objects form PHP native values
34 34
      *
35
-     * @param  string $first_name
36
-     * @param  string $middle_name
37
-     * @param  string $last_name
38 35
      * @return Name
39 36
      */
40 37
     public static function fromNative()
@@ -51,9 +48,9 @@  discard block
 block discarded – undo
51 48
     /**
52 49
      * Returns a Name object
53 50
      *
54
-     * @param String $first_name
55
-     * @param String $middle_name
56
-     * @param String $last_name
51
+     * @param StringLiteral $first_name
52
+     * @param StringLiteral $middle_name
53
+     * @param StringLiteral $last_name
57 54
      */
58 55
     public function __construct(StringLiteral $first_name, StringLiteral $middle_name, StringLiteral $last_name)
59 56
     {
@@ -65,7 +62,7 @@  discard block
 block discarded – undo
65 62
     /**
66 63
      * Returns the first name
67 64
      *
68
-     * @return String
65
+     * @return StringLiteral
69 66
      */
70 67
     public function getFirstName()
71 68
     {
@@ -75,7 +72,7 @@  discard block
 block discarded – undo
75 72
     /**
76 73
      * Returns the middle name
77 74
      *
78
-     * @return String
75
+     * @return StringLiteral
79 76
      */
80 77
     public function getMiddleName()
81 78
     {
@@ -85,7 +82,7 @@  discard block
 block discarded – undo
85 82
     /**
86 83
      * Returns the last name
87 84
      *
88
-     * @return String
85
+     * @return StringLiteral
89 86
      */
90 87
     public function getLastName()
91 88
     {
@@ -95,7 +92,7 @@  discard block
 block discarded – undo
95 92
     /**
96 93
      * Returns the full name
97 94
      *
98
-     * @return String
95
+     * @return StringLiteral
99 96
      */
100 97
     public function getFullName()
101 98
     {
Please login to merge, or discard this patch.