Completed
Push — master ( 914294...8e0606 )
by Ivan
02:49
created
src/Element/Option.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     }
24 24
 
25 25
     /**
26
-     * @return DOMElement
26
+     * @return \DOMNode
27 27
      */
28 28
     public function getSelect()
29 29
     {
@@ -37,7 +37,6 @@  discard block
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param boolean $value
41 40
      */
42 41
     public function select()
43 42
     {
Please login to merge, or discard this patch.
src/SafeXPath.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * @param  string          $xpath
25 25
      * @param  DOMNode|null $scope
26 26
      * @throws InvalidArgumentException If xpath is not valid
27
-     * @return DOMNodeList|false
27
+     * @return \DOMNodeList
28 28
      */
29 29
     public function query($xpath, DOMNode $scope = null, $registerNodeNS = null)
30 30
     {
Please login to merge, or discard this patch.
src/Element/Form.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SP\Crawler\Element;
4 4
 
5
-use GuzzleHttp\Psr7\Request;
6 5
 use GuzzleHttp\Psr7\Uri;
7 6
 use GuzzleHttp\Psr7\MultipartStream;
8 7
 use GuzzleHttp\Psr7\ServerRequest;
Please login to merge, or discard this patch.
src/Element/Submit.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     private $form;
13 13
 
14 14
     /**
15
-     * @return DOMElement
15
+     * @return \DOMNode
16 16
      */
17 17
     public function getForm()
18 18
     {
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-     * @return Request
46
+     * @return \GuzzleHttp\Psr7\ServerRequest
47 47
      */
48 48
     public function clickRequest()
49 49
     {
Please login to merge, or discard this patch.
src/Reader.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -124,7 +124,6 @@  discard block
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @param  ServerRequestInterface $input
128 127
      * @throws BadMethodCallException
129 128
      */
130 129
     public function sendRequest(ServerRequestInterface $request)
@@ -135,7 +134,7 @@  discard block
 block discarded – undo
135 134
     }
136 135
 
137 136
     /**
138
-     * @param  string $url
137
+     * @param  UriInterface $url
139 138
      * @throws BadMethodCallException
140 139
      */
141 140
     public function open(UriInterface $url)
@@ -146,7 +145,7 @@  discard block
 block discarded – undo
146 145
     }
147 146
 
148 147
     /**
149
-     * @return Psr\Http\Message\UriInterface
148
+     * @return Uri
150 149
      */
151 150
     public function getUri()
152 151
     {
@@ -157,7 +156,7 @@  discard block
 block discarded – undo
157 156
      * @param  string          $xpath
158 157
      * @param  DOMElement|null $scope
159 158
      * @throws InvalidArgumentException If xpath is not valid
160
-     * @return DOMNodeList
159
+     * @return \DOMNodeList
161 160
      */
162 161
     public function query($xpath, DOMElement $scope = null)
163 162
     {
Please login to merge, or discard this patch.