@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Session\Backend; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Session\Backend\Exception; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Session\Backend; |
4 | 4 | |
5 | 5 | /* |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | |
188 | 188 | $query->delete($this->configuration['table']) |
189 | 189 | ->where($query->expr()->lt('ses_tstamp', (int)($GLOBALS['EXEC_TIME'] - (int)$maximumLifetime))) |
190 | - ->andWhere($this->hasAnonymousSessions ? $query->expr()->eq('ses_anonymous', 0) :' 1 = 1'); |
|
190 | + ->andWhere($this->hasAnonymousSessions ? $query->expr()->eq('ses_anonymous', 0) : ' 1 = 1'); |
|
191 | 191 | $query->execute(); |
192 | 192 | |
193 | 193 | if ($maximumAnonymousLifetime > 0 && $this->hasAnonymousSessions) { |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | // Map array to correct keys |
40 | 40 | $allSessions = array_map( |
41 | - function ($session) { |
|
41 | + function($session) { |
|
42 | 42 | return [ |
43 | 43 | 'id' => $session['ses_id'], |
44 | 44 | 'ip' => $session['ses_iplock'], |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | ); |
51 | 51 | |
52 | 52 | // Sort by timestamp |
53 | - usort($allSessions, function ($session1, $session2) { |
|
53 | + usort($allSessions, function($session1, $session2) { |
|
54 | 54 | return $session1['timestamp'] <=> $session2['timestamp']; |
55 | 55 | }); |
56 | 56 | |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | return array_filter( |
71 | 71 | $allActive, |
72 | - function ($session) use ($backendUser) { |
|
72 | + function($session) use ($backendUser) { |
|
73 | 73 | return (int)$session['ses_userid'] === $backendUser->getUid(); |
74 | 74 | } |
75 | 75 | ); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Session\Backend; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Session\Backend\Exception; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Session\Backend\Exception; |
4 | 4 | |
5 | 5 | /* |
@@ -111,6 +111,6 @@ |
||
111 | 111 | if (array_key_exists($sectionFrame, $mapping)) { |
112 | 112 | return $mapping[$sectionFrame]; |
113 | 113 | } |
114 | - return 'custom-' . (int) $sectionFrame; |
|
114 | + return 'custom-' . (int)$sectionFrame; |
|
115 | 115 | } |
116 | 116 | } |
@@ -230,10 +230,10 @@ discard block |
||
230 | 230 | $numberOfNotYetLocalizedChildren = 0; |
231 | 231 | foreach ($this->data['parameterArray']['fieldConf']['children'] as $child) { |
232 | 232 | if (!$child['isInlineDefaultLanguageRecordInLocalizedParentContext']) { |
233 | - $numberOfFullLocalizedChildren ++; |
|
233 | + $numberOfFullLocalizedChildren++; |
|
234 | 234 | } |
235 | 235 | if ($isLocalizedParent && $child['isInlineDefaultLanguageRecordInLocalizedParentContext']) { |
236 | - $numberOfNotYetLocalizedChildren ++; |
|
236 | + $numberOfNotYetLocalizedChildren++; |
|
237 | 237 | } |
238 | 238 | } |
239 | 239 | |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | $html .= $fieldWizardHtml; |
311 | 311 | |
312 | 312 | // Add the level links after all child records: |
313 | - if ($config['appearance']['levelLinksPosition'] === 'both' || $config['appearance']['levelLinksPosition'] === 'bottom') { |
|
313 | + if ($config['appearance']['levelLinksPosition'] === 'both' || $config['appearance']['levelLinksPosition'] === 'bottom') { |
|
314 | 314 | $html .= $levelLinks . $localizationLinks; |
315 | 315 | } |
316 | 316 | if (is_array($config['customControls'])) { |