Passed
Pull Request — master (#107)
by
unknown
02:51
created
src/Common/Soap/SoapBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@
 block discarded – undo
348 348
      *
349 349
      * @param  int $protocol
350 350
      *
351
-     * @return type Description
351
+     * @return integer Description
352 352
      */
353 353
     public function protocol($protocol = self::SSL_DEFAULT)
354 354
     {
Please login to merge, or discard this patch.
src/Common/Soap/SoapCurl.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * @param  string $url
40 40
      * @param  string $action
41 41
      * @param  string $envelope
42
-     * @param  array  $parameters
42
+     * @param  string[]  $parameters
43 43
      *
44 44
      * @return string
45 45
      * @throws \NFePHP\Common\Exception\SoapException
Please login to merge, or discard this patch.
src/Common/Tools.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,6 @@
 block discarded – undo
176 176
     /**
177 177
      * Stringfy layout number
178 178
      *
179
-     * @param  type $layout
180 179
      *
181 180
      * @return string
182 181
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * @var array
84 84
      */
85 85
     protected $grupos = [
86
-        1 => [ //EVENTOS INICIAIS grupo [1]
86
+        1 => [//EVENTOS INICIAIS grupo [1]
87 87
             'S-1000',
88 88
             'S-1005',
89 89
             'S-1010',
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             'S-1080',
98 98
             'S-2100'
99 99
         ],
100
-        2 => [ //EVENTOS NÃO PERIÓDICOS grupo [2]
100
+        2 => [//EVENTOS NÃO PERIÓDICOS grupo [2]
101 101
             'S-2190',
102 102
             'S-2200',
103 103
             'S-2205',
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             'S-5011',
122 122
             'S-5012'
123 123
         ],
124
-        3 => [ //EVENTOS PERIÓDICOS grupo [3]
124
+        3 => [//EVENTOS PERIÓDICOS grupo [3]
125 125
             'S-1200',
126 126
             'S-1202',
127 127
             'S-1207',
Please login to merge, or discard this patch.
src/Tools.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
         ];
152 152
 
153 153
         //return $envelope;
154
-        return (string)$this->soap->send(
154
+        return (string) $this->soap->send(
155 155
             $this->method,
156 156
             $this->uri,
157 157
             $this->action,
Please login to merge, or discard this patch.
src/Common/ParamsStandardize.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     protected function getKeys(\stdClass $schema)
44 44
     {
45 45
         return array_keys(
46
-            (array)$this->get(
46
+            (array) $this->get(
47 47
                 $schema,
48 48
                 'properties',
49 49
                 new \stdClass()
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     protected function getProperties(
92 92
         \stdClass $schema,
93 93
         \stdClass $data,
94
-        \stdClass &$clone,
94
+        \stdClass & $clone,
95 95
         $keys,
96 96
         $ref = ''
97 97
     ) {
Please login to merge, or discard this patch.
src/Common/Soap/SoapCode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     public static function info($code)
24 24
     {
25
-        $codes = (array)json_decode(file_get_contents(__DIR__ . '/httpcodes.json'), true);
25
+        $codes = (array) json_decode(file_get_contents(__DIR__ . '/httpcodes.json'), true);
26 26
         if (array_key_exists($code, $codes)) {
27 27
             return $codes[$code];
28 28
         }
Please login to merge, or discard this patch.