* @param string $variableName
* @param boolean $allowEmpty
* @param string $arrayIndex
- * @return integer
*/
protected function readInteger($variableName, $allowEmpty = false, $arrayIndex = '') {
- return $this->readValue($variableName, $allowEmpty, $arrayIndex, self::TYPE_INTEGER);
+ $this->readValue($variableName, $allowEmpty, $arrayIndex, self::TYPE_INTEGER);
}
/**
* @param string $variableName
* @param boolean $allowEmpty
* @param string $arrayIndex
- * @return string
*/
protected function readString($variableName, $allowEmpty = false, $arrayIndex = '') {
- return $this->readValue($variableName, $allowEmpty, $arrayIndex, self::TYPE_STRING);
+ $this->readValue($variableName, $allowEmpty, $arrayIndex, self::TYPE_STRING);
}
/**
* @param string $variableName
* @param boolean $allowEmpty
* @param string $arrayIndex
- * @return boolean
*/
protected function readBool($variableName, $allowEmpty = false, $arrayIndex = '') {
- return $this->readValue($variableName, $allowEmpty, $arrayIndex, self::TYPE_BOOL);
+ $this->readValue($variableName, $allowEmpty, $arrayIndex, self::TYPE_BOOL);
}
/**
}
break;
}
-
- return $target[$variableName];
}
/**