Passed
Branch master (47ade2)
by João Felipe Magro
10:09
created
src/Ipag/Classes/Address.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -117,6 +117,7 @@  discard block
 block discarded – undo
117 117
 
118 118
     /**
119 119
      * @param string street
120
+     * @param string $street
120 121
      */
121 122
     public function setStreet($street)
122 123
     {
@@ -127,6 +128,7 @@  discard block
 block discarded – undo
127 128
 
128 129
     /**
129 130
      * @param string number
131
+     * @param string $number
130 132
      */
131 133
     public function setNumber($number)
132 134
     {
@@ -137,6 +139,7 @@  discard block
 block discarded – undo
137 139
 
138 140
     /**
139 141
      * @param string complement
142
+     * @param string $complement
140 143
      */
141 144
     public function setComplement($complement)
142 145
     {
@@ -147,6 +150,7 @@  discard block
 block discarded – undo
147 150
 
148 151
     /**
149 152
      * @param string neighborhood
153
+     * @param string $neighborhood
150 154
      */
151 155
     public function setNeighborhood($neighborhood)
152 156
     {
@@ -157,6 +161,7 @@  discard block
 block discarded – undo
157 161
 
158 162
     /**
159 163
      * @param string city
164
+     * @param string $city
160 165
      */
161 166
     public function setCity($city)
162 167
     {
@@ -167,6 +172,7 @@  discard block
 block discarded – undo
167 172
 
168 173
     /**
169 174
      * @param string state
175
+     * @param string $state
170 176
      */
171 177
     public function setState($state)
172 178
     {
@@ -177,6 +183,7 @@  discard block
 block discarded – undo
177 183
 
178 184
     /**
179 185
      * @param string country
186
+     * @param string $country
180 187
      */
181 188
     public function setCountry($country)
182 189
     {
@@ -187,6 +194,7 @@  discard block
 block discarded – undo
187 194
 
188 195
     /**
189 196
      * @param string zipCode
197
+     * @param string $zipCode
190 198
      */
191 199
     public function setZipCode($zipCode)
192 200
     {
Please login to merge, or discard this patch.
src/Ipag/Classes/Customer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,6 @@  discard block
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-     * @param string $type
104 103
      */
105 104
     private function setType()
106 105
     {
@@ -136,7 +135,8 @@  discard block
 block discarded – undo
136 135
     }
137 136
 
138 137
     /**
139
-     * @param Phone $phone
138
+     * @param string $areaCode
139
+     * @param string $number
140 140
      */
141 141
     public function setPhone($areaCode, $number)
142 142
     {
Please login to merge, or discard this patch.
src/Ipag/Classes/Subscription.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -143,6 +143,7 @@  discard block
 block discarded – undo
143 143
 
144 144
     /**
145 145
      * Sets the value of interval.
146
+     * @param string $interval
146 147
      */
147 148
     public function setInterval($interval)
148 149
     {
@@ -271,6 +272,9 @@  discard block
 block discarded – undo
271 272
         return $this;
272 273
     }
273 274
 
275
+    /**
276
+     * @param integer $frequency
277
+     */
274 278
     private function isValidFrequency($frequency)
275 279
     {
276 280
         return (bool) (is_numeric($frequency) && strlen($frequency) >= 1 && strlen($frequency) <= 2);
@@ -290,6 +294,9 @@  discard block
 block discarded – undo
290 294
         return false;
291 295
     }
292 296
 
297
+    /**
298
+     * @param string $date
299
+     */
293 300
     private function isValidStartFormatDate($date)
294 301
     {
295 302
         /* dd/mm/yyyy */
@@ -302,11 +309,17 @@  discard block
 block discarded – undo
302 309
         return false;
303 310
     }
304 311
 
312
+    /**
313
+     * @param integer $cycle
314
+     */
305 315
     private function isValidCycle($cycle)
306 316
     {
307 317
         return (bool) (is_numeric($cycle) && strlen($cycle) >= 1 && strlen($cycle) <= 3);
308 318
     }
309 319
 
320
+    /**
321
+     * @param string $profileId
322
+     */
310 323
     private function isValidProfileId($profileId)
311 324
     {
312 325
         return (bool) (is_numeric($profileId) && strlen($profileId) <= 32);
Please login to merge, or discard this patch.
src/Ipag/Ipag.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @param Authentication $authetication
80
+     * @param Authentication $authentication
81 81
      */
82 82
     public function setAuthentication(Authentication $authentication)
83 83
     {
Please login to merge, or discard this patch.