@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * @since 9.0.0 |
37 | 37 | */ |
38 | - const EQ = ExpressionBuilder::EQ; |
|
38 | + const EQ = ExpressionBuilder::EQ; |
|
39 | 39 | /** |
40 | 40 | * @since 9.0.0 |
41 | 41 | */ |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * @since 9.0.0 |
45 | 45 | */ |
46 | - const LT = ExpressionBuilder::LT; |
|
46 | + const LT = ExpressionBuilder::LT; |
|
47 | 47 | /** |
48 | 48 | * @since 9.0.0 |
49 | 49 | */ |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * @since 9.0.0 |
53 | 53 | */ |
54 | - const GT = ExpressionBuilder::GT; |
|
54 | + const GT = ExpressionBuilder::GT; |
|
55 | 55 | /** |
56 | 56 | * @since 9.0.0 |
57 | 57 | */ |
@@ -84,7 +84,7 @@ |
||
84 | 84 | * @since 9.0.0 |
85 | 85 | */ |
86 | 86 | public function getGroups() { |
87 | - return array_map(function ($group) { |
|
87 | + return array_map(function($group) { |
|
88 | 88 | /** @var \OCP\IGroup $group */ |
89 | 89 | return $group->getGID(); |
90 | 90 | }, $this->groups); |
@@ -74,7 +74,7 @@ |
||
74 | 74 | * @since 5.0.0 |
75 | 75 | */ |
76 | 76 | public static function setExecutionType($type) { |
77 | - if( !in_array( $type, array('none', 'ajax', 'webcron', 'cron'))) { |
|
77 | + if (!in_array($type, array('none', 'ajax', 'webcron', 'cron'))) { |
|
78 | 78 | return false; |
79 | 79 | } |
80 | 80 | \OC::$server->getConfig()->setAppValue('core', 'backgroundjobs_mode', $type); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | /** |
47 | 47 | * @since 9.2.0 |
48 | 48 | */ |
49 | - const EVENT = self::class . ':' . 'PreviewRequested'; |
|
49 | + const EVENT = self::class.':'.'PreviewRequested'; |
|
50 | 50 | |
51 | 51 | const MODE_FILL = 'fill'; |
52 | 52 | const MODE_COVER = 'cover'; |
@@ -159,7 +159,7 @@ |
||
159 | 159 | } |
160 | 160 | } |
161 | 161 | |
162 | - return array_filter($providers, function ($provider) use ($user) { |
|
162 | + return array_filter($providers, function($provider) use ($user) { |
|
163 | 163 | /* @var $provider IProvider */ |
164 | 164 | return $provider->isTwoFactorAuthEnabledForUser($user); |
165 | 165 | }); |
@@ -129,7 +129,7 @@ |
||
129 | 129 | $data = $result->fetchAll(); |
130 | 130 | $result->closeCursor(); |
131 | 131 | |
132 | - $entities = array_map(function ($row) { |
|
132 | + $entities = array_map(function($row) { |
|
133 | 133 | return DefaultToken::fromRow($row); |
134 | 134 | }, $data); |
135 | 135 |
@@ -170,7 +170,7 @@ |
||
170 | 170 | if (is_array($scope)) { |
171 | 171 | parent::setScope(json_encode($scope)); |
172 | 172 | } else { |
173 | - parent::setScope((string)$scope); |
|
173 | + parent::setScope((string) $scope); |
|
174 | 174 | } |
175 | 175 | } |
176 | 176 | } |
@@ -188,7 +188,7 @@ |
||
188 | 188 | if (\OC_Helper::is_function_enabled('exec')) { |
189 | 189 | $os = strtolower(php_uname('s')); |
190 | 190 | if (strpos($os, 'linux') !== false) { |
191 | - return $this->exec('stat -c %Y ' . escapeshellarg($fullPath)); |
|
191 | + return $this->exec('stat -c %Y '.escapeshellarg($fullPath)); |
|
192 | 192 | } |
193 | 193 | } |
194 | 194 |
@@ -103,6 +103,6 @@ |
||
103 | 103 | $time = new \DateTime('now', $timeZone); |
104 | 104 | $timestampInfo = $time->format($this->config->getSystemValue('logdateformat', \DateTime::ATOM)); |
105 | 105 | |
106 | - return $timestampInfo . ' ' . $this->formatter->format($message); |
|
106 | + return $timestampInfo.' '.$this->formatter->format($message); |
|
107 | 107 | } |
108 | 108 | } |