From bc625258e1a02f27b7fe77ef153ef03e0c222d28 Mon Sep 17 00:00:00 2001 From: Olav van Schie Date: Mon, 12 Jun 2017 10:39:45 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Processor.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; });