Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#2904 branch 'hotfix/pu…
Browse files Browse the repository at this point in the history
…t-assignment-inline'
  • Loading branch information
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ public function setBreakOnFailure($breakOnFailure)
*/
public function setErrorMessage($errorMessage)
{
$errorMessage = (null === $errorMessage) ? null : (string) $errorMessage;
$this->errorMessage = $errorMessage;
$this->errorMessage = (null === $errorMessage) ? null : (string) $errorMessage;
return $this;
}

Expand Down

0 comments on commit a7a27db

Please sign in to comment.