Skip to content

Commit c910040

Browse files
committed
refactor: Fix types
1 parent 7252ed3 commit c910040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/SettingsController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ protected function setGlobalFieldSourceVariables(array &$variables)
13371337
*/
13381338
protected function cullDisabledSites($seoElement, string $sourceBundleType, string $sourceHandle, array &$variables)
13391339
{
1340-
/** @var Section|ProductType $section */
1340+
/** @var ?Section|?ProductType $section */
13411341
$section = $seoElement::sourceModelFromHandle($sourceHandle);
13421342
$sectionSiteIds = [];
13431343
if ($section) {

0 commit comments

Comments
 (0)