Skip to content

Commit e51fef9

Browse files
committed
Fix minor phpdoc typos
1 parent 2e5479c commit e51fef9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/WebDriverExpectedCondition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ function ($driver) {
396396
* An expectation with the logical opposite condition of the given condition.
397397
*
398398
* @param WebDriverExpectedCondition $condition The condition to be negated.
399-
* @return mixed The nagation of the result of the given condition.
399+
* @return mixed The negation of the result of the given condition.
400400
*/
401401
public static function not(WebDriverExpectedCondition $condition) {
402402
return new WebDriverExpectedCondition(

lib/remote/RemoteWebDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ private function newElement($id) {
422422
}
423423

424424
/**
425-
* Set the command executor of this RemoteWebdrver
425+
* Set the command executor of this RemoteWebdriver
426426
*
427427
* @param WebDriverCommandExecutor $executor
428428
* @return RemoteWebDriver

lib/remote/RemoteWebElement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ private function upload($local_file) {
319319
throw new WebDriverException("You may only upload files: " . $local_file);
320320
}
321321

322-
// Create a temperary file in the system temp directory.
322+
// Create a temporary file in the system temp directory.
323323
$temp_zip = tempnam('', 'WebDriverZip');
324324
$zip = new ZipArchive();
325325
if ($zip->open($temp_zip, ZipArchive::CREATE) !== true) {
@@ -344,7 +344,7 @@ private function upload($local_file) {
344344
* Set the fileDetector in order to let the RemoteWebElement to know that
345345
* you are going to upload a file.
346346
*
347-
* Bascially, if you want WebDriver trying to send a file, set the fileDector
347+
* Basically, if you want WebDriver trying to send a file, set the fileDetector
348348
* to be LocalFileDetector. Otherwise, keep it UselessFileDetector.
349349
*
350350
* eg. $element->setFileDetector(new LocalFileDetector);

0 commit comments

Comments
 (0)