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

Commit 29d157b

Browse files
authored
Merge pull request #3 from appstract/analysis-86xoRl
Apply fixes from StyleCI
2 parents 3241b4a + bc62525 commit 29d157b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Processor.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class Processor
1717
*/
1818
protected $bakPath;
1919

20-
/**
21-
*/
2220
protected $lines;
2321

2422
/**
@@ -78,7 +76,7 @@ public function addLine($ip, $domain, $aliases = '')
7876
}
7977

8078
/**
81-
* Removes old value and adds new line
79+
* Removes old value and adds new line.
8280
*
8381
* @param $ip
8482
* @param $domain
@@ -105,7 +103,7 @@ public function removeLine($domain)
105103
throw new Exception(sprintf("'%s', is not a valid domain", $domain));
106104
}
107105

108-
$this->lines = $this->lines->reject(function($item) use ($domain) {
106+
$this->lines = $this->lines->reject(function ($item) use ($domain) {
109107
return $item['domain'] == $domain;
110108
});
111109

0 commit comments

Comments
 (0)