Skip to content

Commit e610afa

Browse files
committed
fix deprecated
1 parent 77b2619 commit e610afa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Codeception/Module/VisualCeption.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function seeVisualChanges($identifier, $elementID = null, $excludeElement
244244
* @param string|array $excludeElements string of Element name or array of Element names, which should not appear in the screenshot
245245
* @param float|null $deviation
246246
*/
247-
public function dontSeeVisualChanges(string $identifier, string $elementID = null, array|string $excludeElements = [], float $deviation = null): void
247+
public function dontSeeVisualChanges(string $identifier, ?string $elementID = null, array|string $excludeElements = [], ?float $deviation = null): void
248248
{
249249
$this->compareVisualChanges($identifier, $elementID, $excludeElements, $deviation, false);
250250

0 commit comments

Comments
 (0)