Skip to content

Commit

Permalink
Adjusting code for coding convention
Browse files Browse the repository at this point in the history
  • Loading branch information
Turnerj committed Mar 7, 2015
1 parent a767ff6 commit a1c9bd0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions code/formfields/MollomField.php
Expand Up @@ -75,10 +75,8 @@ public function getCaptcha() {
*
* @return void
*/
public function setCaptchaType($Type)
{
if (in_array($Type, array('image', 'audio')))
{
public function setCaptchaType($Type) {
if (in_array($Type, array('image', 'audio'))) {
$this->captchaType = $Type;
}
}
Expand All @@ -88,8 +86,7 @@ public function setCaptchaType($Type)
*
* @return string
*/
public function getCaptchaType()
{
public function getCaptchaType() {
return $this->captchaType;
}

Expand Down

0 comments on commit a1c9bd0

Please sign in to comment.