@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * Event repository. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
| 9 | 9 | |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | $ids = []; |
| 34 | 34 | foreach ($rows as $row) { |
| 35 | - $ids[] = (int) $row['uid']; |
|
| 35 | + $ids[] = (int)$row['uid']; |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | return $ids; |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Repository Abstraction. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Configuration repository. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * CalDav repository. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * Index the given events. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\Service; |
| 9 | 9 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | return $databaseConnection->exec_SELECTcountRows( |
| 72 | 72 | '*', |
| 73 | 73 | self::TABLE_NAME, |
| 74 | - 'foreign_table=' . $databaseConnection->fullQuoteStr($table, self::TABLE_NAME) . ' AND foreign_uid=' . (int) $uid |
|
| 74 | + 'foreign_table=' . $databaseConnection->fullQuoteStr($table, self::TABLE_NAME) . ' AND foreign_uid=' . (int)$uid |
|
| 75 | 75 | ); |
| 76 | 76 | } |
| 77 | 77 | |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | 'start_date >= ' . $now->getTimestamp() . ' AND foreign_table=' . $databaseConnection->fullQuoteStr( |
| 97 | 97 | $table, |
| 98 | 98 | self::TABLE_NAME |
| 99 | - ) . ' AND foreign_uid=' . (int) $uid, |
|
| 99 | + ) . ' AND foreign_uid=' . (int)$uid, |
|
| 100 | 100 | '', |
| 101 | 101 | 'start_date ASC, start_time ASC', |
| 102 | 102 | $limit |
@@ -178,11 +178,11 @@ discard block |
||
| 178 | 178 | { |
| 179 | 179 | foreach ($neededItem as $key => $value) { |
| 180 | 180 | if (MathUtility::canBeInterpretedAsInteger($value)) { |
| 181 | - if ((int) $value !== (int) $currentItem[$key]) { |
|
| 181 | + if ((int)$value !== (int)$currentItem[$key]) { |
|
| 182 | 182 | return false; |
| 183 | 183 | } |
| 184 | 184 | } else { |
| 185 | - if ((string) $value !== (string) $currentItem[$key]) { |
|
| 185 | + if ((string)$value !== (string)$currentItem[$key]) { |
|
| 186 | 186 | return false; |
| 187 | 187 | } |
| 188 | 188 | } |
@@ -226,12 +226,12 @@ discard block |
||
| 226 | 226 | $validKeys[$key] = $databaseConnection->fullQuoteStr($value, self::TABLE_NAME); |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | - return (bool) $databaseConnection->exec_DELETEquery( |
|
| 229 | + return (bool)$databaseConnection->exec_DELETEquery( |
|
| 230 | 230 | self::TABLE_NAME, |
| 231 | 231 | 'unique_register_key NOT IN (' . \implode(',', $validKeys) . ')' |
| 232 | 232 | ); |
| 233 | 233 | } |
| 234 | 234 | |
| 235 | - return (bool) $databaseConnection->exec_TRUNCATEquery(self::TABLE_NAME); |
|
| 235 | + return (bool)$databaseConnection->exec_TRUNCATEquery(self::TABLE_NAME); |
|
| 236 | 236 | } |
| 237 | 237 | } |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * TYPO3 Auth backend. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\Service\CalDav; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * TimeSelectionWizard. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\Service; |
| 9 | 9 | |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | if ('' === $id && '' === $name) { |
| 35 | 35 | return ''; |
| 36 | 36 | } |
| 37 | - $times = $this->getTimes((int) $params['pid']); |
|
| 37 | + $times = $this->getTimes((int)$params['pid']); |
|
| 38 | 38 | if (!$times) { |
| 39 | 39 | return ''; |
| 40 | 40 | } |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Work on flex forms. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\Service; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * External service. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\Service\TimeTable; |
| 9 | 9 | |