Completed
Branch master (19e7b7)
by Robert
03:21
created
src/Document/BaseDocument.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
         return $this->loadString(file_get_contents($file));
16 16
     }
17 17
 
18
+    /**
19
+     * @param resource $stream
20
+     */
18 21
     public function loadStream($stream) : Element
19 22
     {
20 23
         Assert::resource($stream);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Rs\XmlFilter\Document;
6 6
 
Please login to merge, or discard this patch.
src/Filter/Behavior/FilterContextTrait.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         return sprintf($path, $options['context']);
41 41
     }
42 42
 
43
+    /**
44
+     * @return Element
45
+     */
43 46
     protected function getSearchElement(Element $element, $options)
44 47
     {
45 48
         if (!isset($options['context']) || !$options['context'] instanceof Element) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Rs\XmlFilter\Filter\Behavior;
6 6
 
Please login to merge, or discard this patch.
src/Loader/Loader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Rs\XmlFilter\Loader;
6 6
 
Please login to merge, or discard this patch.
src/Loader/JsonLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Rs\XmlFilter\Loader;
6 6
 
Please login to merge, or discard this patch.
src/Loader/YamlLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Rs\XmlFilter\Loader;
6 6
 
Please login to merge, or discard this patch.
src/Loader/ArrayLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Rs\XmlFilter\Loader;
6 6
 
Please login to merge, or discard this patch.
src/Console/FilterCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Rs\XmlFilter\Console;
6 6
 
Please login to merge, or discard this patch.
src/Document/DomElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Rs\XmlFilter\Document;
6 6
 
Please login to merge, or discard this patch.
src/Document/SimpleXmlDocument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Rs\XmlFilter\Document;
6 6
 
Please login to merge, or discard this patch.