Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Classes/Backend/LayoutSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ public function getLanguageService(): LanguageService
*
* @param LanguageService|null $languageService
*/
public function setLanguageService(LanguageService $languageService = null): void
public function setLanguageService(?LanguageService $languageService = null): void
{
if ($languageService instanceof LanguageService) {
$this->languageService = $languageService;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Plugin/Gridelements.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function main(string $content = '', array $conf = []): string
* @param array|null $child
* @deprecated use the recommended static file based on DataProcessing instead of a USER cObject, will be removed in Gridelements v11.0
*/
public function initPluginFlexForm(string $field = 'pi_flexform', array &$child = null)
public function initPluginFlexForm(string $field = 'pi_flexform', ?array &$child = null)
{
$this->flexFormTools = GeneralUtility::makeInstance(FlexFormTools::class);
// Converting flexform data into array:
Expand Down