Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from appstract/analysis-86xoRl
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
ovanschie authored Jun 12, 2017
2 parents 3241b4a + bc62525 commit 29d157b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ class Processor
*/
protected $bakPath;

/**
*/
protected $lines;

/**
Expand Down Expand Up @@ -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
Expand All @@ -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;
});

Expand Down

0 comments on commit 29d157b

Please sign in to comment.