Skip to content

Commit 6c8df40

Browse files
author
Daniel Opitz
committed
Renamed variable
1 parent 9b5df3e commit 6c8df40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Validation/ValidationResult.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ public function getCode(): ?string
8585
/**
8686
* Set the error code.
8787
*
88-
* @param string $message The error code
88+
* @param string $code The error code
8989
*
9090
* @return void
9191
*/
92-
public function setCode(string $message)
92+
public function setCode(string $code)
9393
{
94-
$this->code = $message;
94+
$this->code = $code;
9595
}
9696

9797
/**

0 commit comments

Comments
 (0)