@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * |
| 40 | 40 | * Wrapper around core functionality to keep compatibility with TYPO3 6.2 |
| 41 | 41 | * |
| 42 | - * @param $table |
|
| 42 | + * @param string $table |
|
| 43 | 43 | * @param array $row |
| 44 | 44 | * @return string |
| 45 | 45 | */ |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | */ |
| 46 | 46 | public static function getIconForRecord($table, array $row) |
| 47 | 47 | { |
| 48 | - if (version_compare(TYPO3_version,'7.0','<')) { |
|
| 48 | + if (version_compare(TYPO3_version, '7.0', '<')) { |
|
| 49 | 49 | return \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconForRecord($table, $row); |
| 50 | 50 | } else { |
| 51 | 51 | $iconFactory = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconFactory::class); |