Completed
Push — master ( e80ea0...ba2e48 )
by Randy
02:42
created
src/AssignableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 
21 21
     /**
22 22
      * @param string $value
23
+     * @return void
23 24
      */
24 25
     public function setValue(string $value);
25 26
 
Please login to merge, or discard this patch.
src/PrefixableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -10,6 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     /**
12 12
      * @param string $prefix
13
+     * @return void
13 14
      */
14 15
     public function setPrefix(string $prefix);
15 16
 
Please login to merge, or discard this patch.
src/Hydrator/Dom/Translator.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Dgame\Soap\Dom;
4 4
 
5
-use Dgame\Soap\Attribute\XmlAttribute;
6
-use Dgame\Soap\XmlElement;
7
-use Dgame\Soap\XmlNode;
8 5
 use DOMAttr;
9 6
 use DOMDocument;
10 7
 use DOMNode;
8
+use Dgame\Soap\Attribute\XmlAttribute;
9
+use Dgame\Soap\XmlElement;
10
+use Dgame\Soap\XmlNode;
11 11
 
12 12
 /**
13 13
  * Class DomTranslator
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * @param DOMDocument $document
28 28
      *
29
-     * @return XmlNode|null
29
+     * @return XmlElement|null
30 30
      */
31 31
     public function translateDocument(DOMDocument $document)
32 32
     {
Please login to merge, or discard this patch.
src/Hydrator/Dom/Assembler.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Dgame\Soap\Hydrator\Dom;
4 4
 
5
+use DOMDocument;
6
+use DOMElement;
7
+use DOMNode;
5 8
 use Dgame\Soap\Attribute\Attribute;
6 9
 use Dgame\Soap\Attribute\XmlAttribute;
7 10
 use Dgame\Soap\Element;
@@ -9,9 +12,6 @@  discard block
 block discarded – undo
9 12
 use Dgame\Soap\Visitor\ElementVisitorInterface;
10 13
 use Dgame\Soap\XmlElement;
11 14
 use Dgame\Soap\XmlNode;
12
-use DOMDocument;
13
-use DOMElement;
14
-use DOMNode;
15 15
 
16 16
 /**
17 17
  * Class Assembler
Please login to merge, or discard this patch.
src/Visitor/AttributeVisitableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -10,6 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     /**
12 12
      * @param AttributeVisitorInterface $visitor
13
+     * @return void
13 14
      */
14 15
     public function accept(AttributeVisitorInterface $visitor);
15 16
 }
16 17
\ No newline at end of file
Please login to merge, or discard this patch.
src/Visitor/AttributeVisitorInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -13,11 +13,13 @@
 block discarded – undo
13 13
 {
14 14
     /**
15 15
      * @param Attribute $attribute
16
+     * @return void
16 17
      */
17 18
     public function visitAttribute(Attribute $attribute);
18 19
 
19 20
     /**
20 21
      * @param XmlAttribute $attribute
22
+     * @return void
21 23
      */
22 24
     public function visitXmlAttribute(XmlAttribute $attribute);
23 25
 }
24 26
\ No newline at end of file
Please login to merge, or discard this patch.
src/Visitor/ElementVisitableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -10,6 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     /**
12 12
      * @param ElementVisitorInterface $visitor
13
+     * @return void
13 14
      */
14 15
     public function accept(ElementVisitorInterface $visitor);
15 16
 }
16 17
\ No newline at end of file
Please login to merge, or discard this patch.
src/Visitor/ElementVisitorInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,16 +14,19 @@
 block discarded – undo
14 14
 {
15 15
     /**
16 16
      * @param Element $element
17
+     * @return void
17 18
      */
18 19
     public function visitElement(Element $element);
19 20
 
20 21
     /**
21 22
      * @param XmlElement $element
23
+     * @return void
22 24
      */
23 25
     public function visitXmlElement(XmlElement $element);
24 26
 
25 27
     /**
26 28
      * @param XmlNode $node
29
+     * @return void
27 30
      */
28 31
     public function visitXmlNode(XmlNode $node);
29 32
 }
30 33
\ No newline at end of file
Please login to merge, or discard this patch.
tests/DeHydrationTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Dgame\Soap\Test;
4 4
 
5
+use DOMDocument;
5 6
 use Dgame\Soap\Hydrator\ClassMapper;
6 7
 use Dgame\Soap\Hydrator\Dom\Hydrator;
7 8
 use Dgame\Soap\Test\Object\TestAddress;
@@ -9,7 +10,6 @@  discard block
 block discarded – undo
9 10
 use Dgame\Soap\Test\Object\TestPerson;
10 11
 use Dgame\Soap\Test\Object\TestPhone;
11 12
 use Dgame\Soap\Test\Object\TestRoot;
12
-use DOMDocument;
13 13
 use PHPUnit\Framework\TestCase;
14 14
 
15 15
 /**
Please login to merge, or discard this patch.