Skip to content
Snippets Groups Projects
Commit 92650215 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] PHP 7.3 fixes

parent 15a80ca0
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ class NewsFeedController extends AbstractController {
/**
* @var NewsRepository
*/
protected NewsRepository $newsRepository;
protected $newsRepository;
/**
* @param NewsRepository $newsRepository
......
......@@ -35,7 +35,7 @@ use TYPO3\CMS\Fluid\View\StandaloneView;
* @package SGalinski\SgNews\Hook\PagelayoutView\PluginRenderer
*/
class PluginRenderer implements PageLayoutViewDrawItemHookInterface {
protected PreviewService $previewService;
protected $previewService;
public function init() {
$this->previewService = GeneralUtility::makeInstance(PreviewService::class);
......
......@@ -38,7 +38,7 @@ final class QueryBuilderPaginator extends AbstractPaginator {
/**
* @var int
*/
protected int $totalItems = 0;
protected $totalItems = 0;
public function __construct(
\TYPO3\CMS\Core\Database\Query\QueryBuilder $queryBuilder,
......
......@@ -34,9 +34,12 @@ class PreviewRenderer implements PreviewRendererInterface {
/**
* @var LanguageService $languageService
*/
protected LanguageService $languageService;
protected $languageService;
protected PreviewService $previewService;
/**
* @var PreviewService
*/
protected $previewService;
public function __construct(LanguageService $languageService, PreviewService $previewService) {
$this->previewService = $previewService;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment