Removed window file new lines and extra spaces

This commit is contained in:
Walter Dal Mut 2014-12-03 22:39:53 +01:00
commit 0dfd236925

View file

@ -91,9 +91,9 @@ class StandardFile
return $this->_setProperty("Pre-Depends", $this->_transformList($depends));
}
public function setRecommends($depends)
{
return $this->_setProperty("Reccommends", $depends);
public function setRecommends($depends)
{
return $this->_setProperty("Reccommends", $depends);
}
public function setSuggests($depends)
@ -134,10 +134,10 @@ class StandardFile
private function _transformList($depends)
{
if (is_array($depends)) {
$depends = implode(", ", $depends);
} else {
$depends = $depends;
if (is_array($depends)) {
$depends = implode(", ", $depends);
} else {
$depends = $depends;
}
return $depends;
@ -150,28 +150,28 @@ class StandardFile
}
public function offsetExists ($offset) {
return array_key_exists($offset, $this->_keys);
}
return array_key_exists($offset, $this->_keys);
}
public function offsetGet ($offset) {
if ($this->offsetExists($offset)) {
return $this->_keys[$offset];
} else {
return null;
}
}
}
}
public function offsetSet ($offset, $value) {
if (!$this->offsetExists($offset)) {
throw new \Exception("Invalid property for this control file.");
}
$this->_keys[$offset] = $value;
}
$this->_keys[$offset] = $value;
}
public function offsetUnset ($offset) {
if ($this->offsetExists($offset)) {
unset($this->_keys[$offset]);
}
}
}
/**