mirror of
https://github.com/friendica/friendica
synced 2025-05-05 12:24:11 +02:00
Changed:
- double-quotes to single - more space around concated strings - removed TODO as there is sadly no IOException in PHP
This commit is contained in:
parent
ff5673e2d8
commit
88cdb695b1
3 changed files with 19 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue