Passed
Pull Request — master (#1492)
by Julius
02:44
created
lib/Service/DefaultBoardService.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 	private $config;
40 40
 	private $l10n;
41 41
 
42
-    public function __construct(
42
+	public function __construct(
43 43
 			IL10N $l10n,
44 44
 			BoardMapper $boardMapper,
45 45
 			BoardService $boardService,
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 		$this->config = $config;
55 55
 		$this->boardMapper = $boardMapper;
56 56
 		$this->l10n = $l10n;
57
-    }
57
+	}
58 58
 
59 59
 	/**
60 60
 	 * Return true if this is the first time a user is acessing their instance with deck enabled
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 		}
77 77
 
78 78
 		return false;
79
-    }
79
+	}
80 80
 
81 81
 	/**
82 82
 	 * @param $title
@@ -103,9 +103,9 @@  discard block
 block discarded – undo
103 103
 			throw new BadRequestException('color must be provided');
104 104
 		}
105 105
 
106
-        $defaultBoard = $this->boardService->create($title, $userId, $color);
107
-        $defaultStacks = [];
108
-        $defaultCards = [];
106
+		$defaultBoard = $this->boardService->create($title, $userId, $color);
107
+		$defaultStacks = [];
108
+		$defaultCards = [];
109 109
 
110 110
 		$boardId = $defaultBoard->getId();
111 111
 
@@ -118,5 +118,5 @@  discard block
 block discarded – undo
118 118
 		$defaultCards[] = $this->cardService->create($this->l10n->t('Example Task 1'), $defaultStacks[2]->getId(), 'text', 0, $userId);
119 119
 
120 120
 		return $defaultBoard;
121
-    }
121
+	}
122 122
 }
Please login to merge, or discard this patch.