File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ parameters:
7979 moduleData : TYPO3\CMS\Backend\Module\ModuleData
8080 normalizedParams : TYPO3\CMS\Core\Http\NormalizedParams
8181 site : TYPO3\CMS\Core\Site\Entity\Site
82+ applicationType : TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_*
8283 stubFiles :
8384 - stubs/DomainObjectInterface.stub
8485 - stubs/GeneralUtility.stub
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public function getAttributeTests(ServerRequestInterface $request): void
1717 assertType (SiteLanguage::class, $ request ->getAttribute ('language ' ));
1818 assertType (Site::class, $ request ->getAttribute ('site ' ));
1919 assertType (NormalizedParams::class, $ request ->getAttribute ('normalizedParams ' ));
20+ assertType ('1|2|4|8|16 ' , $ request ->getAttribute ('applicationType ' ));
2021 assertType ('FlowdGmbh \\MyProject \\Http \\MyAttribute ' , $ request ->getAttribute ('myCustomAttribute ' ));
2122 assertType ('FlowdGmbh \\MyProject \\Http \\MyAttribute|null ' , $ request ->getAttribute ('myCustomNullableAttribute ' ));
2223 }
You can’t perform that action at this time.
0 commit comments