diff --git a/src/Processor.php b/src/Processor.php index a679172..8fcb047 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -17,8 +17,6 @@ class Processor */ protected $bakPath; - /** - */ protected $lines; /** @@ -78,7 +76,7 @@ public function addLine($ip, $domain, $aliases = '') } /** - * Removes old value and adds new line + * Removes old value and adds new line. * * @param $ip * @param $domain @@ -105,7 +103,7 @@ public function removeLine($domain) throw new Exception(sprintf("'%s', is not a valid domain", $domain)); } - $this->lines = $this->lines->reject(function($item) use ($domain) { + $this->lines = $this->lines->reject(function ($item) use ($domain) { return $item['domain'] == $domain; });