@@ -32,12 +32,12 @@ |
||
32 | 32 | use Fisharebest\Webtrees\Tree; |
33 | 33 | use Fisharebest\Webtrees\User; |
34 | 34 | use Fisharebest\Webtrees\View; |
35 | -use stdClass; |
|
36 | 35 | use Symfony\Component\HttpFoundation\JsonResponse; |
37 | 36 | use Symfony\Component\HttpFoundation\RedirectResponse; |
38 | 37 | use Symfony\Component\HttpFoundation\Request; |
39 | 38 | use Symfony\Component\HttpFoundation\Response; |
40 | 39 | use Symfony\Component\HttpFoundation\ResponseHeaderBag; |
40 | +use stdClass; |
|
41 | 41 | |
42 | 42 | /** |
43 | 43 | * Controller for the administration pages |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers; |
19 | 19 | |
@@ -726,7 +726,7 @@ discard block |
||
726 | 726 | * @return Response |
727 | 727 | */ |
728 | 728 | public function changesLogData(Request $request): Response { |
729 | - list($select, , $where, $args1) = $this->changesQuery($request); |
|
729 | + list($select,, $where, $args1) = $this->changesQuery($request); |
|
730 | 730 | list($order_by, $limit, $args2) = $this->dataTablesPagination($request); |
731 | 731 | |
732 | 732 | $rows = Database::prepare( |
@@ -800,7 +800,7 @@ discard block |
||
800 | 800 | * @return Response |
801 | 801 | */ |
802 | 802 | public function changesLogDownload(Request $request): Response { |
803 | - list($select, , $where, $args) = $this->changesQuery($request); |
|
803 | + list($select,, $where, $args) = $this->changesQuery($request); |
|
804 | 804 | |
805 | 805 | $rows = Database::prepare($select . $where)->execute($args)->fetchAll(); |
806 | 806 |
@@ -492,7 +492,7 @@ |
||
492 | 492 | * Take a list of block names, and return block (module) objects. |
493 | 493 | * |
494 | 494 | * @param string[] $blocks |
495 | - * @param array $active_blocks |
|
495 | + * @param ModuleBlockInterface[] $active_blocks |
|
496 | 496 | * |
497 | 497 | * @return ModuleBlockInterface[] |
498 | 498 | */ |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers; |
19 | 19 |
@@ -15,7 +15,6 @@ |
||
15 | 15 | */ |
16 | 16 | namespace Fisharebest\Webtrees; |
17 | 17 | |
18 | -use Fisharebest\Webtrees\Functions\Functions; |
|
19 | 18 | use Fisharebest\Webtrees\Functions\FunctionsDb; |
20 | 19 | use Fisharebest\Webtrees\Functions\FunctionsEdit; |
21 | 20 | use Fisharebest\Webtrees\Functions\FunctionsImport; |
@@ -17,7 +17,6 @@ |
||
17 | 17 | |
18 | 18 | use Fisharebest\Webtrees\Auth; |
19 | 19 | use Fisharebest\Webtrees\Database; |
20 | -use Fisharebest\Webtrees\DebugBar; |
|
21 | 20 | use Fisharebest\Webtrees\Family; |
22 | 21 | use Fisharebest\Webtrees\Functions\Functions; |
23 | 22 | use Fisharebest\Webtrees\I18N; |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | use Fisharebest\Webtrees\Filter; |
19 | 19 | use Fisharebest\Webtrees\Html; |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers; |
19 | 19 |
@@ -16,7 +16,6 @@ |
||
16 | 16 | namespace Fisharebest\Webtrees\Schema; |
17 | 17 | |
18 | 18 | use Fisharebest\Webtrees\Database; |
19 | -use Fisharebest\Webtrees\Tree; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * Upgrade the database schema from version 5 to version 6. |
@@ -16,7 +16,6 @@ |
||
16 | 16 | namespace Fisharebest\Webtrees; |
17 | 17 | |
18 | 18 | use Fisharebest\Webtrees\Functions\FunctionsPrintFacts; |
19 | -use League\Glide\Urls\UrlBuilderFactory; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * A GEDCOM media (OBJE) object. |
@@ -248,7 +248,7 @@ |
||
248 | 248 | /** |
249 | 249 | * Create a new image object from Media Object - ReportPdf |
250 | 250 | * |
251 | - * @param MediaFile $mediafile |
|
251 | + * @param MediaFile $media_file |
|
252 | 252 | * @param mixed $x |
253 | 253 | * @param mixed $y |
254 | 254 | * @param int $w Image width |