Completed
Push — master ( e1d569...050b2a )
by Giancarlos
05:11
created
src/Greenter/Ws/Services/FeSunat.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
                 ->setCdrResponse($this->extractResponse($cdrZip))
55 55
                 ->setCdrZip($cdrZip)
56 56
                 ->setSuccess(true);
57
-        }
58
-        catch (\SoapFault $e) {
57
+        } catch (\SoapFault $e) {
59 58
             $result->setError($this->getErrorFromFault($e));
60 59
         }
61 60
 
@@ -81,8 +80,7 @@  discard block
 block discarded – undo
81 80
             $result
82 81
                 ->setTicket($response->ticket)
83 82
                 ->setSuccess(true);
84
-        }
85
-        catch (\SoapFault $e) {
83
+        } catch (\SoapFault $e) {
86 84
             $result->setError($this->getErrorFromFault($e));
87 85
         }
88 86
         return $result;
@@ -110,8 +108,7 @@  discard block
 block discarded – undo
110 108
                 ->setCdrResponse($this->extractResponse($cdrZip))
111 109
                 ->setCdrZip($cdrZip)
112 110
                 ->setSuccess(true);
113
-        }
114
-        catch (\SoapFault $e) {
111
+        } catch (\SoapFault $e) {
115 112
             $result->setError($this->getErrorFromFault($e));
116 113
         }
117 114
 
Please login to merge, or discard this patch.
src/Greenter/Model/Perception/PerceptionDetail.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     private $tipoCambio;
107 107
 
108 108
     /**
109
-     * @return mixed
109
+     * @return string
110 110
      */
111 111
     public function getTipoDoc()
112 112
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @return mixed
127
+     * @return string
128 128
      */
129 129
     public function getNumDoc()
130 130
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-     * @return mixed
145
+     * @return \DateTime
146 146
      */
147 147
     public function getFechaEmision()
148 148
     {
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     }
179 179
 
180 180
     /**
181
-     * @return mixed
181
+     * @return string
182 182
      */
183 183
     public function getMoneda()
184 184
     {
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-     * @return mixed
199
+     * @return Payment[]
200 200
      */
201 201
     public function getCobros()
202 202
     {
Please login to merge, or discard this patch.
src/Greenter/Model/Retention/Retention.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@
 block discarded – undo
281 281
     }
282 282
 
283 283
     /**
284
-     * @return mixed
284
+     * @return RetentionDetail[]
285 285
      */
286 286
     public function getDetails()
287 287
     {
Please login to merge, or discard this patch.