]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/ServerBlock.php
Apply suggestions from code review
[friendica.git] / src / Console / ServerBlock.php
index d052612e1fae2b1db09fdaa76985e207583f2a60..bba37c617c69b8c20be9a1e05b5c57f7165f510b 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -144,12 +144,12 @@ HELP;
                                ];
                                if (!in_array($data, $newBlockList)) {
                                        $newBlockList[] = $data;
-                }
+                               }
                        }
                        foreach ($currBlockList as $blocked) {
                                if (!in_array($blocked, $newBlockList)) {
                                        $newBlockList[] = $blocked;
-                }
+                               }
                        }
                        if ($config->set('system', 'blocklist', $newBlockList)) {
                                $this->out(sprintf("Entries from %s that were not blocked before are now blocked", $filename));
@@ -167,7 +167,7 @@ HELP;
        /**
         * Prints the whole list of blocked domains including the reason
         *
-        /* @param IConfig $config
+        * @param IConfig $config
         */
        private function printBlockedServers(IConfig $config)
        {