]> git.mxchange.org Git - friendica.git/commitdiff
PHP-CS and license ..
authorPhilipp <admin@philipp.info>
Tue, 15 Nov 2022 19:15:25 +0000 (20:15 +0100)
committerPhilipp <admin@philipp.info>
Tue, 15 Nov 2022 19:15:25 +0000 (20:15 +0100)
src/Module/Item/Display.php
src/Module/Item/Feed.php
src/Module/Update/Display.php

index ff7455696b6f7fc48e291f40db1d7ca82c598c4d..42112a3e0253bd432d979b1c407d2fdf5e76cafb 100644 (file)
@@ -16,6 +16,7 @@
  *
  * You should have received a copy of the GNU Affero General Public License
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
  */
 
 namespace Friendica\Module\Item;
@@ -321,8 +322,7 @@ class Display extends BaseModule
                $page = $this->page;
 
                if (Contact::exists([
-                       'unsearchable' => true,
-                       'id'           => [$item['contact-id'], $item['author-id'], $item['owner-id']]
+                       'unsearchable' => true, 'id' => [$item['contact-id'], $item['author-id'], $item['owner-id']]
                ])) {
                        $page['htmlhead'] .= "<meta content=\"noindex, noarchive\" name=\"robots\" />\n";
                }
index c640a80ba7945aaa663fd51a27f0a051eb36af2a..50447afba4a3603c1255cd1cf2926d08029504a5 100644 (file)
@@ -16,6 +16,7 @@
  *
  * You should have received a copy of the GNU Affero General Public License
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
  */
 
 namespace Friendica\Module\Item;
index 11e3a3eda74af04c5b1d7cb7181fccd8ded055ab..4b84cba7a82bce91dae06941bfb59d863c960ffa 100644 (file)
@@ -17,7 +17,6 @@
  * You should have received a copy of the GNU Affero General Public License
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
  *
- * See update_profile.php for documentation
  */
 
 namespace Friendica\Module\Update;
@@ -49,7 +48,7 @@ class Display extends DisplayModule
                $item = Post::selectFirst(
                        ['uid', 'parent-uri-id', 'uri-id'],
                        ['uri-id' => $uriId, 'uid' => [0, $profileUid]],
-                       ['order' => ['uid' => true]]
+                       ['order'  => ['uid' => true]]
                );
 
                if (empty($item)) {