[TASK] Use name-resolution instead of strings where possible: 17
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Controller / BackendController.php
index 74d5e11..bec4e63 100644 (file)
@@ -156,7 +156,7 @@ class BackendController {
                        if (!$toolbarItemInstance instanceof \TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface) {
                                throw new \RuntimeException(
                                        'class ' . $className . ' is registered as toolbar item but does not implement'
-                                               . '\TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface',
+                                               . \TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface::class,
                                        1415958218
                                );
                        }