Skip to content

Commit 4505d93

Browse files
committed
Improved phpdoc for the Session::window() method
Documenting the 2 actual methods rather than the parent class allow IDEss to find the annotations for magic methods
1 parent 891369d commit 4505d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebDriver/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function deleteCookie($cookieName)
228228
* - $session->window($name) - set focus
229229
* - $session->window($window_handle)->method() - chaining
230230
*
231-
* @return \WebDriver\AbstractWebDriver
231+
* @return \WebDriver\Window|\WebDriver\Session
232232
*/
233233
public function window()
234234
{

0 commit comments

Comments
 (0)