- double-quotes to single
- more space around concated strings
- removed TODO as there is sadly no IOException in PHP
This commit is contained in:
Roland Häder 2022-08-13 13:34:30 +02:00
parent ff5673e2d8
commit 88cdb695b1
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
3 changed files with 19 additions and 19 deletions

View file

@ -130,7 +130,6 @@ class DomainPatternBlocklist
*
* @return void
* @throws Exception
* @todo maybe throw more explicit exception
*/
public function exportToFile(string $filename)
{
@ -148,6 +147,7 @@ class DomainPatternBlocklist
* Appends to the local block list all the patterns from the provided list that weren't already present.
*
* @param array $blocklist
*
* @return int The number of patterns actually added to the block list
*/
public function append(array $blocklist): int