Completed
Pull Request — master (#107)
by
unknown
02:49
created
src/Factories/EvtReintegr.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\eSocial\Common\Factory;
19 19
 use NFePHP\eSocial\Common\FactoryInterface;
20
-use NFePHP\eSocial\Common\FactoryId;
21 20
 use NFePHP\Common\Certificate;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
src/Common/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
             return true;
217 217
         }
218 218
         $validator = new JsonValid();
219
-        $validator->check($data, (object)['$ref' => 'file://' . $this->jsonschema]);
219
+        $validator->check($data, (object) ['$ref' => 'file://' . $this->jsonschema]);
220 220
         if (!$validator->isValid()) {
221 221
             $msg = "JSON does not validate. Violations:\n";
222 222
             foreach ($validator->getErrors() as $error) {
Please login to merge, or discard this patch.
src/Factories/EvtTabEstab.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\eSocial\Common\Factory;
19 19
 use NFePHP\eSocial\Common\FactoryInterface;
20
-use NFePHP\eSocial\Common\FactoryId;
21 20
 use NFePHP\Common\Certificate;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
src/Common/Soap/SoapInterface.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      *
35 35
      * @param Certificate $certificate
36
+     * @return void
36 37
      */
37 38
     public function loadCertificate(Certificate $certificate);
38 39
     
@@ -40,6 +41,7 @@  discard block
 block discarded – undo
40 41
      * Set logger class
41 42
      *
42 43
      * @param LoggerInterface $logger
44
+     * @return LoggerInterface
43 45
      */
44 46
     public function loadLogger(LoggerInterface $logger);
45 47
     
@@ -47,6 +49,7 @@  discard block
 block discarded – undo
47 49
      * Set timeout for connection
48 50
      *
49 51
      * @param int $timesecs
52
+     * @return integer
50 53
      */
51 54
     public function timeout($timesecs);
52 55
     
@@ -54,6 +57,7 @@  discard block
 block discarded – undo
54 57
      * Set security protocol for soap communications
55 58
      *
56 59
      * @param int $protocol
60
+     * @return integer
57 61
      */
58 62
     public function protocol($protocol = self::SSL_DEFAULT);
59 63
     
@@ -64,6 +68,7 @@  discard block
 block discarded – undo
64 68
      * @param int    $port
65 69
      * @param string $user
66 70
      * @param string $password
71
+     * @return void
67 72
      */
68 73
     public function proxy($ip, $port, $user, $password);
69 74
     
@@ -75,7 +80,6 @@  discard block
 block discarded – undo
75 80
      * @param string $action
76 81
      * @param string $envelope
77 82
      * @param array  $parameters
78
-     * @param string $request
79 83
      */
80 84
     public function send(
81 85
         $operation,
Please login to merge, or discard this patch.