Completed
Pull Request — master (#2254)
by Konstantin
38s
created
lib/Model/CircleInvitation.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -181,16 +181,16 @@
 block discarded – undo
181 181
 	 * @throws CircleNotFoundException
182 182
 	 */
183 183
 	public function importFromDatabase(array $data, string $prefix = ''): IQueryRow {
184
-		if ($this->get($prefix . 'id', $data) === '') {
184
+		if ($this->get($prefix.'id', $data) === '') {
185 185
 			throw new CircleNotFoundException();
186 186
 		}
187 187
 
188
-		$this->setId($this->get($prefix . 'id', $data))
189
-			->setCircleId($this->get($prefix . 'circle_id', $data))
190
-			->setInvitationCode($this->get($prefix . 'invitation_code', $data))
191
-			->setCreatedBy($this->get($prefix . 'created_by', $data));
188
+		$this->setId($this->get($prefix.'id', $data))
189
+			->setCircleId($this->get($prefix.'circle_id', $data))
190
+			->setInvitationCode($this->get($prefix.'invitation_code', $data))
191
+			->setCreatedBy($this->get($prefix.'created_by', $data));
192 192
 
193
-		$created = $this->get($prefix . 'created', $data);
193
+		$created = $this->get($prefix.'created', $data);
194 194
 		$dateTime = \DateTime::createFromFormat('Y-m-d H:i:s', $created);
195 195
 		$timestamp = $dateTime ? $dateTime->getTimestamp() : (int)strtotime($created);
196 196
 		$this->setCreated($timestamp);
Please login to merge, or discard this patch.