Passed
Push — 1.7 ( 9a2349...400c71 )
by Greg
06:42
created
app/Census/CensusColumnConditionFrenchFemme.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -19,23 +19,23 @@
 block discarded – undo
19 19
  * Marital status.
20 20
  */
21 21
 class CensusColumnConditionFrenchFemme extends AbstractCensusColumnCondition {
22
-	/* Text to display for married individuals */
23
-	protected $husband = '';
24
-	protected $wife    = '1';
22
+    /* Text to display for married individuals */
23
+    protected $husband = '';
24
+    protected $wife    = '1';
25 25
 
26
-	/* Text to display for unmarried individuals */
27
-	protected $bachelor = '';
28
-	protected $spinster = '';
26
+    /* Text to display for unmarried individuals */
27
+    protected $bachelor = '';
28
+    protected $spinster = '';
29 29
 
30
-	/* Text to display for children */
31
-	protected $boy  = '';
32
-	protected $girl = '';
30
+    /* Text to display for children */
31
+    protected $boy  = '';
32
+    protected $girl = '';
33 33
 
34
-	/* Text to display for divorced individuals */
35
-	protected $divorce  = '';
36
-	protected $divorcee = '1';
34
+    /* Text to display for divorced individuals */
35
+    protected $divorce  = '';
36
+    protected $divorcee = '1';
37 37
 
38
-	/* Text to display for widowed individuals (not yet implemented) */
39
-	protected $widower = '';
40
-	protected $widow   = '';
38
+    /* Text to display for widowed individuals (not yet implemented) */
39
+    protected $widower = '';
40
+    protected $widow   = '';
41 41
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@
 block discarded – undo
18 18
 /**
19 19
  * Marital status.
20 20
  */
21
-class CensusColumnConditionFrenchFemme extends AbstractCensusColumnCondition {
21
+class CensusColumnConditionFrenchFemme extends AbstractCensusColumnCondition
22
+{
22 23
 	/* Text to display for married individuals */
23 24
 	protected $husband = '';
24 25
 	protected $wife    = '1';
Please login to merge, or discard this patch.
app/Census/CensusOfScotland1861.php 2 patches
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -19,31 +19,31 @@
 block discarded – undo
19 19
  * Definitions for a census
20 20
  */
21 21
 class CensusOfScotland1861 extends CensusOfScotland implements CensusInterface {
22
-	/**
23
-	 * When did this census occur.
24
-	 *
25
-	 * @return string
26
-	 */
27
-	public function censusDate() {
28
-		return '07 APR 1861';
29
-	}
22
+    /**
23
+     * When did this census occur.
24
+     *
25
+     * @return string
26
+     */
27
+    public function censusDate() {
28
+        return '07 APR 1861';
29
+    }
30 30
 
31
-	/**
32
-	 * The columns of the census.
33
-	 *
34
-	 * @return CensusColumnInterface[]
35
-	 */
36
-	public function columns() {
37
-		return array(
38
-			new CensusColumnFullName($this, 'Name', 'Name and surname'),
39
-			new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'),
40
-			new CensusColumnConditionEnglish($this, 'Condition', 'Condition'),
41
-			new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'),
42
-			new CensusColumnAgeFemale($this, 'AgeF', 'Age (females)'),
43
-			new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'),
44
-			new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'),
45
-			new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'),
46
-			new CensusColumnNull($this, 'School', 'Number of children between 5 and 13 attending school'),
47
-		);
48
-	}
31
+    /**
32
+     * The columns of the census.
33
+     *
34
+     * @return CensusColumnInterface[]
35
+     */
36
+    public function columns() {
37
+        return array(
38
+            new CensusColumnFullName($this, 'Name', 'Name and surname'),
39
+            new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'),
40
+            new CensusColumnConditionEnglish($this, 'Condition', 'Condition'),
41
+            new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'),
42
+            new CensusColumnAgeFemale($this, 'AgeF', 'Age (females)'),
43
+            new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'),
44
+            new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'),
45
+            new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'),
46
+            new CensusColumnNull($this, 'School', 'Number of children between 5 and 13 attending school'),
47
+        );
48
+    }
49 49
 }
Please login to merge, or discard this patch.
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,13 +18,15 @@  discard block
 block discarded – undo
18 18
 /**
19 19
  * Definitions for a census
20 20
  */
21
-class CensusOfScotland1861 extends CensusOfScotland implements CensusInterface {
21
+class CensusOfScotland1861 extends CensusOfScotland implements CensusInterface
22
+{
22 23
 	/**
23 24
 	 * When did this census occur.
24 25
 	 *
25 26
 	 * @return string
26 27
 	 */
27
-	public function censusDate() {
28
+	public function censusDate()
29
+	{
28 30
 		return '07 APR 1861';
29 31
 	}
30 32
 
@@ -33,7 +35,8 @@  discard block
 block discarded – undo
33 35
 	 *
34 36
 	 * @return CensusColumnInterface[]
35 37
 	 */
36
-	public function columns() {
38
+	public function columns()
39
+	{
37 40
 		return array(
38 41
 			new CensusColumnFullName($this, 'Name', 'Name and surname'),
39 42
 			new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'),
Please login to merge, or discard this patch.
app/Census/CensusColumnConditionUs.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -19,23 +19,23 @@
 block discarded – undo
19 19
  * Marital status.
20 20
  */
21 21
 class CensusColumnConditionUs extends CensusColumnConditionEnglish {
22
-	/* Text to display for married individuals */
23
-	protected $husband = 'M';
24
-	protected $wife    = 'M';
22
+    /* Text to display for married individuals */
23
+    protected $husband = 'M';
24
+    protected $wife    = 'M';
25 25
 
26
-	/* Text to display for unmarried individuals */
27
-	protected $bachelor = 'S';
28
-	protected $spinster = 'S';
26
+    /* Text to display for unmarried individuals */
27
+    protected $bachelor = 'S';
28
+    protected $spinster = 'S';
29 29
 
30
-	/* Text to display for children */
31
-	protected $boy  = 'S';
32
-	protected $girl = 'S';
30
+    /* Text to display for children */
31
+    protected $boy  = 'S';
32
+    protected $girl = 'S';
33 33
 
34
-	/* Text to display for divorced individuals */
35
-	protected $divorce  = 'D';
36
-	protected $divorcee = 'D';
34
+    /* Text to display for divorced individuals */
35
+    protected $divorce  = 'D';
36
+    protected $divorcee = 'D';
37 37
 
38
-	/* Text to display for widowed individuals (not yet implemented) */
39
-	protected $widower = 'W';
40
-	protected $widow   = 'W';
38
+    /* Text to display for widowed individuals (not yet implemented) */
39
+    protected $widower = 'W';
40
+    protected $widow   = 'W';
41 41
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@
 block discarded – undo
18 18
 /**
19 19
  * Marital status.
20 20
  */
21
-class CensusColumnConditionUs extends CensusColumnConditionEnglish {
21
+class CensusColumnConditionUs extends CensusColumnConditionEnglish
22
+{
22 23
 	/* Text to display for married individuals */
23 24
 	protected $husband = 'M';
24 25
 	protected $wife    = 'M';
Please login to merge, or discard this patch.
app/Census/CensusOfDenmark.php 2 patches
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -19,44 +19,44 @@
 block discarded – undo
19 19
  * Definitions for a census
20 20
  */
21 21
 class CensusOfDenmark extends Census implements CensusPlaceInterface {
22
-	/**
23
-	 * All available censuses for this census place.
24
-	 *
25
-	 * @return CensusInterface[]
26
-	 */
27
-	public function allCensusDates() {
28
-		return array(
29
-			new CensusOfDenmark1787(),
30
-			new CensusOfDenmark1801(),
31
-			new CensusOfDenmark1803(),
32
-			new CensusOfDenmark1834(),
33
-			new CensusOfDenmark1835(),
34
-			new CensusOfDenmark1840(),
35
-			new CensusOfDenmark1845(),
36
-			new CensusOfDenmark1850(),
37
-			new CensusOfDenmark1855(),
38
-			new CensusOfDenmark1860(),
39
-			new CensusOfDenmark1870(),
40
-			new CensusOfDenmark1880(),
41
-			new CensusOfDenmark1885(),
42
-			new CensusOfDenmark1890(),
43
-			new CensusOfDenmark1901(),
44
-			new CensusOfDenmark1906(),
45
-			new CensusOfDenmark1911(),
46
-			new CensusOfDenmark1916(),
47
-			new CensusOfDenmark1921(),
48
-			new CensusOfDenmark1925(),
49
-			new CensusOfDenmark1930(),
50
-			new CensusOfDenmark1940(),
51
-		);
52
-	}
22
+    /**
23
+     * All available censuses for this census place.
24
+     *
25
+     * @return CensusInterface[]
26
+     */
27
+    public function allCensusDates() {
28
+        return array(
29
+            new CensusOfDenmark1787(),
30
+            new CensusOfDenmark1801(),
31
+            new CensusOfDenmark1803(),
32
+            new CensusOfDenmark1834(),
33
+            new CensusOfDenmark1835(),
34
+            new CensusOfDenmark1840(),
35
+            new CensusOfDenmark1845(),
36
+            new CensusOfDenmark1850(),
37
+            new CensusOfDenmark1855(),
38
+            new CensusOfDenmark1860(),
39
+            new CensusOfDenmark1870(),
40
+            new CensusOfDenmark1880(),
41
+            new CensusOfDenmark1885(),
42
+            new CensusOfDenmark1890(),
43
+            new CensusOfDenmark1901(),
44
+            new CensusOfDenmark1906(),
45
+            new CensusOfDenmark1911(),
46
+            new CensusOfDenmark1916(),
47
+            new CensusOfDenmark1921(),
48
+            new CensusOfDenmark1925(),
49
+            new CensusOfDenmark1930(),
50
+            new CensusOfDenmark1940(),
51
+        );
52
+    }
53 53
 
54
-	/**
55
-	 * Where did this census occur, in GEDCOM format.
56
-	 *
57
-	 * @return string
58
-	 */
59
-	public function censusPlace() {
60
-		return 'Danmark';
61
-	}
54
+    /**
55
+     * Where did this census occur, in GEDCOM format.
56
+     *
57
+     * @return string
58
+     */
59
+    public function censusPlace() {
60
+        return 'Danmark';
61
+    }
62 62
 }
Please login to merge, or discard this patch.
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,13 +18,15 @@  discard block
 block discarded – undo
18 18
 /**
19 19
  * Definitions for a census
20 20
  */
21
-class CensusOfDenmark extends Census implements CensusPlaceInterface {
21
+class CensusOfDenmark extends Census implements CensusPlaceInterface
22
+{
22 23
 	/**
23 24
 	 * All available censuses for this census place.
24 25
 	 *
25 26
 	 * @return CensusInterface[]
26 27
 	 */
27
-	public function allCensusDates() {
28
+	public function allCensusDates()
29
+	{
28 30
 		return array(
29 31
 			new CensusOfDenmark1787(),
30 32
 			new CensusOfDenmark1801(),
@@ -56,7 +58,8 @@  discard block
 block discarded – undo
56 58
 	 *
57 59
 	 * @return string
58 60
 	 */
59
-	public function censusPlace() {
61
+	public function censusPlace()
62
+	{
60 63
 		return 'Danmark';
61 64
 	}
62 65
 }
Please login to merge, or discard this patch.
app/Census/CensusOfWales1851.php 2 patches
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -19,30 +19,30 @@
 block discarded – undo
19 19
  * Definitions for a census
20 20
  */
21 21
 class CensusOfWales1851 extends CensusOfWales implements CensusInterface {
22
-	/**
23
-	 * When did this census occur.
24
-	 *
25
-	 * @return string
26
-	 */
27
-	public function censusDate() {
28
-		return '30 MAR 1851';
29
-	}
22
+    /**
23
+     * When did this census occur.
24
+     *
25
+     * @return string
26
+     */
27
+    public function censusDate() {
28
+        return '30 MAR 1851';
29
+    }
30 30
 
31
-	/**
32
-	 * The columns of the census.
33
-	 *
34
-	 * @return CensusColumnInterface[]
35
-	 */
36
-	public function columns() {
37
-		return array(
38
-			new CensusColumnFullName($this, 'Name', 'Name and surname'),
39
-			new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'),
40
-			new CensusColumnConditionEnglish($this, 'Condition', 'Condition'),
41
-			new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'),
42
-			new CensusColumnAgeFemale($this, 'AgeF', 'Age (females)'),
43
-			new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'),
44
-			new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'),
45
-			new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'),
46
-		);
47
-	}
31
+    /**
32
+     * The columns of the census.
33
+     *
34
+     * @return CensusColumnInterface[]
35
+     */
36
+    public function columns() {
37
+        return array(
38
+            new CensusColumnFullName($this, 'Name', 'Name and surname'),
39
+            new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'),
40
+            new CensusColumnConditionEnglish($this, 'Condition', 'Condition'),
41
+            new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'),
42
+            new CensusColumnAgeFemale($this, 'AgeF', 'Age (females)'),
43
+            new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'),
44
+            new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'),
45
+            new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'),
46
+        );
47
+    }
48 48
 }
Please login to merge, or discard this patch.
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,13 +18,15 @@  discard block
 block discarded – undo
18 18
 /**
19 19
  * Definitions for a census
20 20
  */
21
-class CensusOfWales1851 extends CensusOfWales implements CensusInterface {
21
+class CensusOfWales1851 extends CensusOfWales implements CensusInterface
22
+{
22 23
 	/**
23 24
 	 * When did this census occur.
24 25
 	 *
25 26
 	 * @return string
26 27
 	 */
27
-	public function censusDate() {
28
+	public function censusDate()
29
+	{
28 30
 		return '30 MAR 1851';
29 31
 	}
30 32
 
@@ -33,7 +35,8 @@  discard block
 block discarded – undo
33 35
 	 *
34 36
 	 * @return CensusColumnInterface[]
35 37
 	 */
36
-	public function columns() {
38
+	public function columns()
39
+	{
37 40
 		return array(
38 41
 			new CensusColumnFullName($this, 'Name', 'Name and surname'),
39 42
 			new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'),
Please login to merge, or discard this patch.
app/Census/CensusColumnRelationToHead.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -22,21 +22,21 @@
 block discarded – undo
22 22
  * Relationshiop to head of household.
23 23
  */
24 24
 class CensusColumnRelationToHead extends AbstractCensusColumn implements CensusColumnInterface {
25
-	/**
26
-	 * Generate the likely value of this census column, based on available information.
27
-	 *
28
-	 * @param Individual      $individual
29
-	 * @param Individual|null $head
30
-	 *
31
-	 * @return string
32
-	 */
33
-	public function generate(Individual $individual, Individual $head = null) {
34
-		if ($head === null) {
35
-			return '';
36
-		} elseif ($individual == $head) {
37
-			return 'head';
38
-		} else {
39
-			return Functions::getCloseRelationshipName($head, $individual);
40
-		}
41
-	}
25
+    /**
26
+     * Generate the likely value of this census column, based on available information.
27
+     *
28
+     * @param Individual      $individual
29
+     * @param Individual|null $head
30
+     *
31
+     * @return string
32
+     */
33
+    public function generate(Individual $individual, Individual $head = null) {
34
+        if ($head === null) {
35
+            return '';
36
+        } elseif ($individual == $head) {
37
+            return 'head';
38
+        } else {
39
+            return Functions::getCloseRelationshipName($head, $individual);
40
+        }
41
+    }
42 42
 }
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,8 @@  discard block
 block discarded – undo
21 21
 /**
22 22
  * Relationshiop to head of household.
23 23
  */
24
-class CensusColumnRelationToHead extends AbstractCensusColumn implements CensusColumnInterface {
24
+class CensusColumnRelationToHead extends AbstractCensusColumn implements CensusColumnInterface
25
+{
25 26
 	/**
26 27
 	 * Generate the likely value of this census column, based on available information.
27 28
 	 *
@@ -30,7 +31,8 @@  discard block
 block discarded – undo
30 31
 	 *
31 32
 	 * @return string
32 33
 	 */
33
-	public function generate(Individual $individual, Individual $head = null) {
34
+	public function generate(Individual $individual, Individual $head = null)
35
+	{
34 36
 		if ($head === null) {
35 37
 			return '';
36 38
 		} elseif ($individual == $head) {
Please login to merge, or discard this patch.
app/Census/CensusOfEngland1851.php 2 patches
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -19,30 +19,30 @@
 block discarded – undo
19 19
  * Definitions for a census
20 20
  */
21 21
 class CensusOfEngland1851 extends CensusOfEngland implements CensusInterface {
22
-	/**
23
-	 * When did this census occur.
24
-	 *
25
-	 * @return string
26
-	 */
27
-	public function censusDate() {
28
-		return '30 MAR 1851';
29
-	}
22
+    /**
23
+     * When did this census occur.
24
+     *
25
+     * @return string
26
+     */
27
+    public function censusDate() {
28
+        return '30 MAR 1851';
29
+    }
30 30
 
31
-	/**
32
-	 * The columns of the census.
33
-	 *
34
-	 * @return CensusColumnInterface[]
35
-	 */
36
-	public function columns() {
37
-		return array(
38
-			new CensusColumnFullName($this, 'Name', 'Name and surname'),
39
-			new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'),
40
-			new CensusColumnConditionEnglish($this, 'Condition', 'Condition'),
41
-			new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'),
42
-			new CensusColumnAgeFemale($this, 'AgeF', 'Age (females)'),
43
-			new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'),
44
-			new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'),
45
-			new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'),
46
-		);
47
-	}
31
+    /**
32
+     * The columns of the census.
33
+     *
34
+     * @return CensusColumnInterface[]
35
+     */
36
+    public function columns() {
37
+        return array(
38
+            new CensusColumnFullName($this, 'Name', 'Name and surname'),
39
+            new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'),
40
+            new CensusColumnConditionEnglish($this, 'Condition', 'Condition'),
41
+            new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'),
42
+            new CensusColumnAgeFemale($this, 'AgeF', 'Age (females)'),
43
+            new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'),
44
+            new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'),
45
+            new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'),
46
+        );
47
+    }
48 48
 }
Please login to merge, or discard this patch.
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,13 +18,15 @@  discard block
 block discarded – undo
18 18
 /**
19 19
  * Definitions for a census
20 20
  */
21
-class CensusOfEngland1851 extends CensusOfEngland implements CensusInterface {
21
+class CensusOfEngland1851 extends CensusOfEngland implements CensusInterface
22
+{
22 23
 	/**
23 24
 	 * When did this census occur.
24 25
 	 *
25 26
 	 * @return string
26 27
 	 */
27
-	public function censusDate() {
28
+	public function censusDate()
29
+	{
28 30
 		return '30 MAR 1851';
29 31
 	}
30 32
 
@@ -33,7 +35,8 @@  discard block
 block discarded – undo
33 35
 	 *
34 36
 	 * @return CensusColumnInterface[]
35 37
 	 */
36
-	public function columns() {
38
+	public function columns()
39
+	{
37 40
 		return array(
38 41
 			new CensusColumnFullName($this, 'Name', 'Name and surname'),
39 42
 			new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'),
Please login to merge, or discard this patch.
app/Census/CensusColumnInterface.php 2 patches
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -22,41 +22,41 @@
 block discarded – undo
22 22
  * Definitions for a census column
23 23
  */
24 24
 interface CensusColumnInterface {
25
-	/**
26
-	 * A short version of the column's name.
27
-	 *
28
-	 * @return string
29
-	 */
30
-	public function abbreviation();
25
+    /**
26
+     * A short version of the column's name.
27
+     *
28
+     * @return string
29
+     */
30
+    public function abbreviation();
31 31
 
32
-	/**
33
-	 * When did this census occur
34
-	 *
35
-	 * @return Date
36
-	 */
37
-	public function date();
32
+    /**
33
+     * When did this census occur
34
+     *
35
+     * @return Date
36
+     */
37
+    public function date();
38 38
 
39
-	/**
40
-	 * Generate the likely value of this census column, based on available information.
41
-	 *
42
-	 * @param Individual      $individual
43
-	 * @param Individual|null $head
44
-	 *
45
-	 * @return string
46
-	 */
47
-	public function generate(Individual $individual, Individual $head = null);
39
+    /**
40
+     * Generate the likely value of this census column, based on available information.
41
+     *
42
+     * @param Individual      $individual
43
+     * @param Individual|null $head
44
+     *
45
+     * @return string
46
+     */
47
+    public function generate(Individual $individual, Individual $head = null);
48 48
 
49
-	/**
50
-	 * Where did this census occur
51
-	 *
52
-	 * @return string
53
-	 */
54
-	public function place();
49
+    /**
50
+     * Where did this census occur
51
+     *
52
+     * @return string
53
+     */
54
+    public function place();
55 55
 
56
-	/**
57
-	 * The full version of the column's name.
58
-	 *
59
-	 * @return string
60
-	 */
61
-	public function title();
56
+    /**
57
+     * The full version of the column's name.
58
+     *
59
+     * @return string
60
+     */
61
+    public function title();
62 62
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,8 @@
 block discarded – undo
21 21
 /**
22 22
  * Definitions for a census column
23 23
  */
24
-interface CensusColumnInterface {
24
+interface CensusColumnInterface
25
+{
25 26
 	/**
26 27
 	 * A short version of the column's name.
27 28
 	 *
Please login to merge, or discard this patch.
app/Census/CensusOfDenmark1870.php 2 patches
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -19,36 +19,36 @@
 block discarded – undo
19 19
  * Definitions for a census
20 20
  */
21 21
 class CensusOfDenmark1870 extends CensusOfDenmark implements CensusInterface {
22
-	/**
23
-	 * When did this census occur.
24
-	 *
25
-	 * @return string
26
-	 */
27
-	public function censusDate() {
28
-		return '01 FEB 1870';
29
-	}
22
+    /**
23
+     * When did this census occur.
24
+     *
25
+     * @return string
26
+     */
27
+    public function censusDate() {
28
+        return '01 FEB 1870';
29
+    }
30 30
 
31
-	/**
32
-	 * The columns of the census.
33
-	 *
34
-	 * @return CensusColumnInterface[]
35
-	 */
36
-	public function columns() {
37
-		return array(
38
-			new CensusColumnFullName($this, 'Navn', ''),
39
-			new CensusColumnSexMK($this, 'Køn', ''),
40
-			new CensusColumnAge($this, 'Alder', ''),
41
-			new CensusColumnConditionDanish($this, 'Civilstand', ''),
42
-			new CensusColumnReligion($this, 'Religion', ''),
43
-			new CensusColumnOccupation($this, 'Erhverv', ''),
44
-			new CensusColumnRelationToHead($this, 'Stilling i familien', ''),
45
-			new CensusColumnNull($this, '', ''),
46
-			new CensusColumnNull($this, '', ''),
47
-			new CensusColumnNull($this, '', ''),
48
-			new CensusColumnNull($this, '', ''),
49
-			new CensusColumnNull($this, '', ''),
50
-			new CensusColumnNull($this, '', ''),
51
-			new CensusColumnNull($this, '', ''),
52
-		);
53
-	}
31
+    /**
32
+     * The columns of the census.
33
+     *
34
+     * @return CensusColumnInterface[]
35
+     */
36
+    public function columns() {
37
+        return array(
38
+            new CensusColumnFullName($this, 'Navn', ''),
39
+            new CensusColumnSexMK($this, 'Køn', ''),
40
+            new CensusColumnAge($this, 'Alder', ''),
41
+            new CensusColumnConditionDanish($this, 'Civilstand', ''),
42
+            new CensusColumnReligion($this, 'Religion', ''),
43
+            new CensusColumnOccupation($this, 'Erhverv', ''),
44
+            new CensusColumnRelationToHead($this, 'Stilling i familien', ''),
45
+            new CensusColumnNull($this, '', ''),
46
+            new CensusColumnNull($this, '', ''),
47
+            new CensusColumnNull($this, '', ''),
48
+            new CensusColumnNull($this, '', ''),
49
+            new CensusColumnNull($this, '', ''),
50
+            new CensusColumnNull($this, '', ''),
51
+            new CensusColumnNull($this, '', ''),
52
+        );
53
+    }
54 54
 }
Please login to merge, or discard this patch.
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,13 +18,15 @@  discard block
 block discarded – undo
18 18
 /**
19 19
  * Definitions for a census
20 20
  */
21
-class CensusOfDenmark1870 extends CensusOfDenmark implements CensusInterface {
21
+class CensusOfDenmark1870 extends CensusOfDenmark implements CensusInterface
22
+{
22 23
 	/**
23 24
 	 * When did this census occur.
24 25
 	 *
25 26
 	 * @return string
26 27
 	 */
27
-	public function censusDate() {
28
+	public function censusDate()
29
+	{
28 30
 		return '01 FEB 1870';
29 31
 	}
30 32
 
@@ -33,7 +35,8 @@  discard block
 block discarded – undo
33 35
 	 *
34 36
 	 * @return CensusColumnInterface[]
35 37
 	 */
36
-	public function columns() {
38
+	public function columns()
39
+	{
37 40
 		return array(
38 41
 			new CensusColumnFullName($this, 'Navn', ''),
39 42
 			new CensusColumnSexMK($this, 'Køn', ''),
Please login to merge, or discard this patch.