File tree Expand file tree Collapse file tree 3 files changed +10
-42
lines changed Expand file tree Collapse file tree 3 files changed +10
-42
lines changed Original file line number Diff line number Diff line change 18
18
*/
19
19
abstract class AbstractUriElement
20
20
{
21
- /**
22
- * @var \DOMElement
23
- */
24
- protected $ node ;
25
-
26
- /**
27
- * @var string|null The method to use for the element
28
- */
29
- protected $ method ;
30
-
31
- /**
32
- * @var string The URI of the page where the element is embedded (or the base href)
33
- */
34
- protected $ currentUri ;
21
+ protected \DOMElement $ node ;
22
+ protected ?string $ method ;
23
+ protected ?string $ currentUri ;
35
24
36
25
/**
37
26
* @param \DOMElement $node A \DOMElement instance
Original file line number Diff line number Diff line change 23
23
*/
24
24
class Crawler implements \Countable, \IteratorAggregate
25
25
{
26
- /**
27
- * @var string|null
28
- */
29
- protected $ uri ;
26
+ protected ?string $ uri ;
30
27
31
28
/**
32
29
* The default namespace prefix to be used with XPath and CSS expressions.
Original file line number Diff line number Diff line change 18
18
*/
19
19
abstract class FormField
20
20
{
21
- /**
22
- * @var \DOMElement
23
- */
24
- protected $ node ;
25
- /**
26
- * @var string
27
- */
28
- protected $ name ;
29
- /**
30
- * @var string
31
- */
32
- protected $ value ;
33
- /**
34
- * @var \DOMDocument
35
- */
36
- protected $ document ;
37
- /**
38
- * @var \DOMXPath
39
- */
40
- protected $ xpath ;
41
- /**
42
- * @var bool
43
- */
44
- protected $ disabled ;
21
+ protected \DOMElement $ node ;
22
+ protected string $ name ;
23
+ protected string |array |null $ value = null ;
24
+ protected \DOMDocument $ document ;
25
+ protected \DOMXPath $ xpath ;
26
+ protected bool $ disabled = false ;
45
27
46
28
/**
47
29
* @param \DOMElement $node The node associated with this field
You can’t perform that action at this time.
0 commit comments