Skip to content

Commit eaf3b04

Browse files
committed
Added specific type hint for the tokenTypes parameter
1 parent 57c8974 commit eaf3b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Vault/Model/PaymentTokenFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class PaymentTokenFactory implements PaymentTokenFactoryInterface
2626
* @param ObjectManagerInterface $objectManager
2727
* @param array $tokenTypes
2828
*/
29-
public function __construct(ObjectManagerInterface $objectManager, $tokenTypes = [])
29+
public function __construct(ObjectManagerInterface $objectManager, array $tokenTypes = [])
3030
{
3131
$this->objectManager = $objectManager;
3232
$this->tokenTypes = $tokenTypes;

0 commit comments

Comments
 (0)