Passed
Pull Request — master (#1264)
by
unknown
21:33 queued 17:54
created
lib/Service/CalendarService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 	 * @return Array
89 89
 	 */
90 90
 	public function getCalendars() {
91
-		$calendars =  [];
91
+		$calendars = [];
92 92
 		foreach ($this->calendars as $calendar) {
93 93
 			$calendars[] = [
94 94
 				'name' => $calendar->getDisplayName(),
Please login to merge, or discard this patch.
tests/Unit/Factories/PollFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,15 +31,15 @@
 block discarded – undo
31 31
 	'title' => Faker::text(124),
32 32
 	'description' => Faker::text(255),
33 33
 	'owner' => Faker::firstNameMale(),
34
-	'created' => function() {
34
+	'created' => function () {
35 35
 		$date = new DateTime('today');
36 36
 		return $date->getTimestamp();
37 37
 	},
38
-	'expire' => function() {
38
+	'expire' => function () {
39 39
 		$date = new DateTime('tomorrow');
40 40
 		return $date->getTimestamp();
41 41
 	},
42
-	'deleted' => function() {
42
+	'deleted' => function () {
43 43
 		$date = new DateTime('+1 month');
44 44
 		return $date->getTimestamp();
45 45
 	},
Please login to merge, or discard this patch.
tests/Unit/Factories/CommentFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
  */
29 29
 $fm->define('OCA\Polls\Db\Comment')->setDefinitions([
30 30
 	'userId' => Faker::firstNameMale(),
31
-	'dt' => function() {
31
+	'dt' => function () {
32 32
 		$date = new DateTime('today');
33 33
 		return $date->format('Y-m-d H:i:s');
34 34
 	},
35
-	'timestamp' => function() {
35
+	'timestamp' => function () {
36 36
 		$date = new DateTime('today');
37 37
 		return $date->getTimestamp();
38 38
 	},
Please login to merge, or discard this patch.