1
0
Fork 0

Remove the unnecessary return statements from setters

pull/4239/head
Nils Adermann 2015-07-09 19:40:03 +02:00
parent f535542fca
commit 956035e641
1 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ class Rule
public function setType($type)
{
return $this->setBitfield(self::BITFIELD_TYPE, $type);
$this->setBitfield(self::BITFIELD_TYPE, $type);
}
public function getType()
@ -126,12 +126,12 @@ class Rule
public function disable()
{
return $this->setBitfield(self::BITFIELD_DISABLED, 1);
$this->setBitfield(self::BITFIELD_DISABLED, 1);
}
public function enable()
{
return $this->setBitfield(self::BITFIELD_DISABLED, 0);
$this->setBitfield(self::BITFIELD_DISABLED, 0);
}
public function isDisabled()