Merge pull request #3077 from Hypolite/issue/#3039-mod-1of3

Normalize App parameter declaration (mod folder, 1 out of 3)
This commit is contained in:
Michael Vogel 2017-01-10 17:28:21 +01:00 committed by GitHub
commit df8b522f6b
42 changed files with 172 additions and 174 deletions

View file

@ -1,6 +1,6 @@
<?php
function community_init(App &$a) {
function community_init(App $a) {
if (! local_user()) {
unset($_SESSION['theme']);
unset($_SESSION['mobile-theme']);
@ -10,7 +10,7 @@ function community_init(App &$a) {
}
function community_content(&$a, $update = 0) {
function community_content(App $a, $update = 0) {
$o = '';