Skip to content

Commit

Permalink
fix undefined array key warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbochmann committed Mar 14, 2023
1 parent f299d8d commit d807c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Operation/GetInsecureExtensionList.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class GetInsecureExtensionList implements IOperation, SingletonInterface
*/
public function execute($parameter = [])
{
$scope = $parameter['scope'];
$scope = $parameter['scope'] ?? '';

/** @var ListUtility $listUtility */
$listUtility = GeneralUtility::makeInstance(ObjectManager::class)->get(ListUtility::class);
Expand Down
2 changes: 1 addition & 1 deletion Classes/Operation/GetOutdatedExtensionList.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class GetOutdatedExtensionList implements IOperation, SingletonInterface
*/
public function execute($parameter = [])
{
$scope = $parameter['scope'];
$scope = $parameter['scope'] ?? '';

/** @var ListUtility $listUtility */
$listUtility = GeneralUtility::makeInstance(ObjectManager::class)->get(ListUtility::class);
Expand Down

0 comments on commit d807c27

Please sign in to comment.