mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:36:13 +01:00
[FEATURE] Add module definitions to the PhpStorm meta file (#388)
Copied from: - https://review.typo3.org/c/Packages/TYPO3.CMS/+/73521 - https://review.typo3.org/c/Packages/TYPO3.CMS/+/73415 Fixes #382
This commit is contained in:
parent
a13e2f4598
commit
05a7e61208
1 changed files with 10 additions and 2 deletions
|
@ -136,7 +136,9 @@ namespace PHPSTORM_META {
|
||||||
'normalizedParams',
|
'normalizedParams',
|
||||||
'site',
|
'site',
|
||||||
'language',
|
'language',
|
||||||
'routing'
|
'routing',
|
||||||
|
'module',
|
||||||
|
'moduleData'
|
||||||
);
|
);
|
||||||
|
|
||||||
override(\Psr\Http\Message\ServerRequestInterface::getAttribute(), map([
|
override(\Psr\Http\Message\ServerRequestInterface::getAttribute(), map([
|
||||||
|
@ -146,6 +148,8 @@ namespace PHPSTORM_META {
|
||||||
'site' => \TYPO3\CMS\Core\Site\Entity\SiteInterface::class,
|
'site' => \TYPO3\CMS\Core\Site\Entity\SiteInterface::class,
|
||||||
'language' => \TYPO3\CMS\Core\Site\Entity\SiteLanguage::class,
|
'language' => \TYPO3\CMS\Core\Site\Entity\SiteLanguage::class,
|
||||||
'routing' => '\TYPO3\CMS\Core\Routing\SiteRouteResult|\TYPO3\CMS\Core\Routing\PageArguments',
|
'routing' => '\TYPO3\CMS\Core\Routing\SiteRouteResult|\TYPO3\CMS\Core\Routing\PageArguments',
|
||||||
|
'module' => \TYPO3\CMS\Backend\Module\ModuleInterface::class,
|
||||||
|
'moduleData' => \TYPO3\CMS\Backend\Module\ModuleData::class,
|
||||||
]));
|
]));
|
||||||
|
|
||||||
expectedArguments(
|
expectedArguments(
|
||||||
|
@ -156,7 +160,9 @@ namespace PHPSTORM_META {
|
||||||
'normalizedParams',
|
'normalizedParams',
|
||||||
'site',
|
'site',
|
||||||
'language',
|
'language',
|
||||||
'routing'
|
'routing',
|
||||||
|
'module',
|
||||||
|
'moduleData'
|
||||||
);
|
);
|
||||||
|
|
||||||
override(\TYPO3\CMS\Core\Http\ServerRequest::getAttribute(), map([
|
override(\TYPO3\CMS\Core\Http\ServerRequest::getAttribute(), map([
|
||||||
|
@ -166,6 +172,8 @@ namespace PHPSTORM_META {
|
||||||
'site' => \TYPO3\CMS\Core\Site\Entity\SiteInterface::class,
|
'site' => \TYPO3\CMS\Core\Site\Entity\SiteInterface::class,
|
||||||
'language' => \TYPO3\CMS\Core\Site\Entity\SiteLanguage::class,
|
'language' => \TYPO3\CMS\Core\Site\Entity\SiteLanguage::class,
|
||||||
'routing' => '\TYPO3\CMS\Core\Routing\SiteRouteResult|\TYPO3\CMS\Core\Routing\PageArguments',
|
'routing' => '\TYPO3\CMS\Core\Routing\SiteRouteResult|\TYPO3\CMS\Core\Routing\PageArguments',
|
||||||
|
'module' => \TYPO3\CMS\Backend\Module\ModuleInterface::class,
|
||||||
|
'moduleData' => \TYPO3\CMS\Backend\Module\ModuleData::class,
|
||||||
]));
|
]));
|
||||||
|
|
||||||
override(\TYPO3\CMS\Core\Routing\SiteMatcher::matchRequest(), type(
|
override(\TYPO3\CMS\Core\Routing\SiteMatcher::matchRequest(), type(
|
||||||
|
|
Loading…
Reference in a new issue