From 5616cfaedd92c6d5765b6abb6aacc92e25586682 Mon Sep 17 00:00:00 2001 From: Tony133 Date: Tue, 27 Jun 2017 15:10:25 +0200 Subject: [PATCH] Fix identation --- src/wdm/debian/control/StandardFile.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/wdm/debian/control/StandardFile.php b/src/wdm/debian/control/StandardFile.php index ee8b459..253642e 100644 --- a/src/wdm/debian/control/StandardFile.php +++ b/src/wdm/debian/control/StandardFile.php @@ -149,11 +149,13 @@ class StandardFile return $this; } - public function offsetExists ($offset) { + public function offsetExists ($offset) + { return array_key_exists($offset, $this->_keys); } - public function offsetGet ($offset) { + public function offsetGet ($offset) + { if ($this->offsetExists($offset)) { return $this->_keys[$offset]; } else { @@ -161,14 +163,16 @@ class StandardFile } } - public function offsetSet ($offset, $value) { + public function offsetSet ($offset, $value) + { if (!$this->offsetExists($offset)) { throw new \InvalidArgumentException("Invalid property '{$offset}' for this control file."); } $this->_keys[$offset] = $value; } - public function offsetUnset ($offset) { + public function offsetUnset ($offset) + { if ($this->offsetExists($offset)) { unset($this->_keys[$offset]); }