Completed
Push — master ( 47ade2...461ffe )
by João Felipe Magro
04:47
created
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.
src/Ipag/Classes/Customer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @return Phone
90
+     * @return string
91 91
      */
92 92
     public function getPhone()
93 93
     {
@@ -109,7 +109,6 @@  discard block
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @param string $type
113 112
      */
114 113
     private function setType()
115 114
     {
@@ -145,7 +144,8 @@  discard block
 block discarded – undo
145 144
     }
146 145
 
147 146
     /**
148
-     * @param Phone $phone
147
+     * @param string $areaCode
148
+     * @param string $number
149 149
      */
150 150
     public function setPhone($areaCode, $number)
151 151
     {
Please login to merge, or discard this patch.