Completed
Push — develop ( 0fd37b...5cb4f0 )
by Greg
13:35
created
app/Http/Controllers/EditRepositoryController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/EditMediaController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/EditSourceController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/HelpTextController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/AdminController.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 
@@ -731,7 +731,7 @@  discard block
 block discarded – undo
731 731
 	 * @return Response
732 732
 	 */
733 733
 	public function changesLogData(Request $request): Response {
734
-		list($select, , $where, $args1) = $this->changesQuery($request);
734
+		list($select,, $where, $args1) = $this->changesQuery($request);
735 735
 		list($order_by, $limit, $args2) = $this->dataTablesPagination($request);
736 736
 
737 737
 		$rows = Database::prepare(
@@ -805,7 +805,7 @@  discard block
 block discarded – undo
805 805
 	 * @return Response
806 806
 	 */
807 807
 	public function changesLogDownload(Request $request): Response {
808
-		list($select, , $where, $args) = $this->changesQuery($request);
808
+		list($select,, $where, $args) = $this->changesQuery($request);
809 809
 
810 810
 		$rows = Database::prepare($select . $where)->execute($args)->fetchAll();
811 811
 
@@ -1135,7 +1135,7 @@  discard block
 block discarded – undo
1135 1135
 		$data = array_map(function (string $thumbnail) {
1136 1136
 			$original = $this->findOriginalFileFromThumbnail($thumbnail);
1137 1137
 
1138
-			$original_url  = route('unused-media-thumbnail', [
1138
+			$original_url = route('unused-media-thumbnail', [
1139 1139
 				'folder' => dirname($original),
1140 1140
 				'file'   => basename($original),
1141 1141
 				'w'      => 100,
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,12 +46,12 @@
 block discarded – undo
46 46
 use Intervention\Image\ImageManager;
47 47
 use RecursiveDirectoryIterator;
48 48
 use RecursiveIteratorIterator;
49
-use stdClass;
50 49
 use Symfony\Component\HttpFoundation\JsonResponse;
51 50
 use Symfony\Component\HttpFoundation\RedirectResponse;
52 51
 use Symfony\Component\HttpFoundation\Request;
53 52
 use Symfony\Component\HttpFoundation\Response;
54 53
 use Symfony\Component\HttpFoundation\ResponseHeaderBag;
54
+use stdClass;
55 55
 
56 56
 /**
57 57
  * Controller for the administration pages
Please login to merge, or discard this patch.
app/Http/Controllers/ErrorController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/AutocompleteController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Theme/ThemeInterface.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,6 +69,7 @@  discard block
 block discarded – undo
69 69
 	/**
70 70
 	 * Allow themes to do things after initialization (since they cannot use
71 71
 	 * the constructor).
72
+	 * @return void
72 73
 	 */
73 74
 	public function hookAfterInit();
74 75
 
@@ -160,6 +161,7 @@  discard block
 block discarded – undo
160 161
 	 * happens in a theme file, and we need to be able to change it.
161 162
 	 *
162 163
 	 * @param Tree|null $tree The current tree (if there is one).
164
+	 * @return void
163 165
 	 */
164 166
 	public function init(Tree $tree = null);
165 167
 
@@ -184,12 +186,13 @@  discard block
 block discarded – undo
184 186
 	 *
185 187
 	 * @param string $parameter_name
186 188
 	 *
187
-	 * @return string|int|float
189
+	 * @return string
188 190
 	 */
189 191
 	public function parameter($parameter_name);
190 192
 
191 193
 	/**
192 194
 	 * Send any HTTP headers.
195
+	 * @return void
193 196
 	 */
194 197
 	public function sendHeaders();
195 198
 
Please login to merge, or discard this patch.
app/Controller/BranchesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Fisharebest\Webtrees\Family;
21 21
 use Fisharebest\Webtrees\Filter;
22 22
 use Fisharebest\Webtrees\GedcomCode\GedcomCodePedi;
23
-use Fisharebest\Webtrees\Html;
24 23
 use Fisharebest\Webtrees\I18N;
25 24
 use Fisharebest\Webtrees\Individual;
26 25
 use Fisharebest\Webtrees\Soundex;
Please login to merge, or discard this patch.