Completed
Push — openstreetmap ( 88502a...0f3d44 )
by Greg
11:12 queued 03:39
created
app/Module/ClippingsCartModule.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 
238 238
 		// Create a source, to indicate the source of the data.
239 239
 		$filetext .= "0 @WEBTREES@ SOUR\n1 TITL " . WT_BASE_URL . "\n";
240
-		$author   = User::find($tree->getPreference('CONTACT_EMAIL'));
240
+		$author = User::find($tree->getPreference('CONTACT_EMAIL'));
241 241
 		if ($author !== null) {
242 242
 			$filetext .= '1 AUTH ' . $author->getRealName() . "\n";
243 243
 		}
@@ -614,7 +614,7 @@  discard block
 block discarded – undo
614 614
 
615 615
 		$xref = $request->get('xref');
616 616
 
617
-		$media  = Media::getInstance($xref, $tree);
617
+		$media = Media::getInstance($xref, $tree);
618 618
 
619 619
 		if ($media === null) {
620 620
 			throw new MediaNotFoundException;
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
 		/** @var Tree $tree */
656 656
 		$tree = $request->attributes->get('tree');
657 657
 
658
-		$xref   = $request->get('xref');
658
+		$xref = $request->get('xref');
659 659
 
660 660
 		$media = Media::getInstance($xref, $tree);
661 661
 
@@ -679,7 +679,7 @@  discard block
 block discarded – undo
679 679
 
680 680
 		$xref = $request->get('xref');
681 681
 
682
-		$note  = Note::getInstance($xref, $tree);
682
+		$note = Note::getInstance($xref, $tree);
683 683
 
684 684
 		if ($note === null) {
685 685
 			throw new NoteNotFoundException;
@@ -720,7 +720,7 @@  discard block
 block discarded – undo
720 720
 		/** @var Tree $tree */
721 721
 		$tree = $request->attributes->get('tree');
722 722
 
723
-		$xref   = $request->get('xref');
723
+		$xref = $request->get('xref');
724 724
 
725 725
 		$note = Note::getInstance($xref, $tree);
726 726
 
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
 
745 745
 		$xref = $request->get('xref');
746 746
 
747
-		$repository  = Repository::getInstance($xref, $tree);
747
+		$repository = Repository::getInstance($xref, $tree);
748 748
 
749 749
 		if ($repository === null) {
750 750
 			throw new RepositoryNotFoundException;
@@ -785,7 +785,7 @@  discard block
 block discarded – undo
785 785
 		/** @var Tree $tree */
786 786
 		$tree = $request->attributes->get('tree');
787 787
 
788
-		$xref   = $request->get('xref');
788
+		$xref = $request->get('xref');
789 789
 
790 790
 		$repository = Repository::getInstance($xref, $tree);
791 791
 
@@ -809,7 +809,7 @@  discard block
 block discarded – undo
809 809
 
810 810
 		$xref = $request->get('xref');
811 811
 
812
-		$source  = Source::getInstance($xref, $tree);
812
+		$source = Source::getInstance($xref, $tree);
813 813
 
814 814
 		if ($source === null) {
815 815
 			throw new SourceNotFoundException;
@@ -895,7 +895,7 @@  discard block
 block discarded – undo
895 895
 		$records = array_filter($records);
896 896
 
897 897
 		// Group and sort.
898
-		uasort($records, function(GedcomRecord $x, GedcomRecord $y) {
898
+		uasort($records, function (GedcomRecord $x, GedcomRecord $y) {
899 899
 			return $x::RECORD_TYPE <=> $y::RECORD_TYPE ?: GedcomRecord::compare($x, $y);
900 900
 		});
901 901
 
Please login to merge, or discard this patch.