Skip to content

Commit b756195

Browse files
committed
fix phpstan errors
1 parent 9e60018 commit b756195

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/WebDriver/Element.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function getID()
113113
/**
114114
* Get the value of an element's attribute: /session/:sessionId/element/:id/attribute/:name
115115
*
116-
* @param string name
116+
* @param string $name
117117
*
118118
* @return mixed
119119
*/

lib/WebDriver/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function open($url)
134134
*/
135135
public function capabilities()
136136
{
137-
if (! isset($this->capabilities)) {
137+
if ($this->capabilities === null) {
138138
$result = $this->curl('GET', '');
139139

140140
$this->capabilities = $result['value'];

0 commit comments

Comments
 (0)