Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 24, 2024
1 parent 406d969 commit a4ae199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/local/Df/Zf/Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ final function getMessages():array {return [__CLASS__ => $this->message()];}
*/
final function message():string {$v = $this->v(); return is_null($v)
? "Got `NULL` instead of {$this->expected()}."
: sprintf("Unable to recognize the value «%s» of type «%s» as {$this->expected()}.", df_string_debug($v), gettype($v))
: sprintf("Unable to recognize the value «%s» of type «%s» as {$this->expected()}.", df_dump($v), gettype($v))
;}

/**
Expand Down

0 comments on commit a4ae199

Please sign in to comment.