Fix spacing in method names
Some method names were followed by spaces.
This commit is contained in:
parent
c5db10bb90
commit
9f73b61e7e
|
@ -149,12 +149,12 @@ class StandardFile
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function offsetExists ($offset)
|
public function offsetExists($offset)
|
||||||
{
|
{
|
||||||
return array_key_exists($offset, $this->_keys);
|
return array_key_exists($offset, $this->_keys);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function offsetGet ($offset)
|
public function offsetGet($offset)
|
||||||
{
|
{
|
||||||
if ($this->offsetExists($offset)) {
|
if ($this->offsetExists($offset)) {
|
||||||
return $this->_keys[$offset];
|
return $this->_keys[$offset];
|
||||||
|
@ -163,7 +163,7 @@ class StandardFile
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function offsetSet ($offset, $value)
|
public function offsetSet($offset, $value)
|
||||||
{
|
{
|
||||||
if (!$this->offsetExists($offset)) {
|
if (!$this->offsetExists($offset)) {
|
||||||
throw new \InvalidArgumentException("Invalid property '{$offset}' for this control file.");
|
throw new \InvalidArgumentException("Invalid property '{$offset}' for this control file.");
|
||||||
|
@ -171,7 +171,7 @@ class StandardFile
|
||||||
$this->_keys[$offset] = $value;
|
$this->_keys[$offset] = $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function offsetUnset ($offset)
|
public function offsetUnset($offset)
|
||||||
{
|
{
|
||||||
if ($this->offsetExists($offset)) {
|
if ($this->offsetExists($offset)) {
|
||||||
unset($this->_keys[$offset]);
|
unset($this->_keys[$offset]);
|
||||||
|
|
Loading…
Reference in a new issue