From 536f9a69537c9dc1f7ebf6514f6602d50d9985bd Mon Sep 17 00:00:00 2001 From: sasezaki Date: Wed, 2 Nov 2011 23:47:23 +0900 Subject: [PATCH] CS fixed - remove '_'prefix in Captcha\Word --- src/Word.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Word.php b/src/Word.php index c5e392f..2771663 100644 --- a/src/Word.php +++ b/src/Word.php @@ -388,20 +388,20 @@ public function isValid($value, $context = null) } if (!isset($value['input'])) { - $this->_error(self::MISSING_VALUE); + $this->error(self::MISSING_VALUE); return false; } $input = strtolower($value['input']); - $this->_setValue($input); + $this->setValue($input); if (!isset($value['id'])) { - $this->_error(self::MISSING_ID); + $this->error(self::MISSING_ID); return false; } $this->_id = $value['id']; if ($input !== $this->getWord()) { - $this->_error(self::BAD_CAPTCHA); + $this->error(self::BAD_CAPTCHA); return false; }