Skip to content

Commit 3fa293d

Browse files
committed
AC-2660::Fixed the static tests
1 parent dbb760f commit 3fa293d

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

app/code/Magento/JwtFrameworkAdapter/Model/JweAlgorithmManagerFactory.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,22 @@ class JweAlgorithmManagerFactory
3131
/**
3232
* @var AlgorithmProviderFactory
3333
*/
34-
private $algorithmProviderFactory;
34+
private AlgorithmProviderFactory $algorithmProviderFactory;
3535

36+
/**
37+
* Default constructor.
38+
* @param AlgorithmProviderFactory $algorithmProviderFactory
39+
*/
3640
public function __construct(AlgorithmProviderFactory $algorithmProviderFactory)
3741
{
3842
$this->algorithmProviderFactory = $algorithmProviderFactory;
3943
}
4044

45+
/**
46+
* Returns the list of names of supported algorithms.
47+
*
48+
* @return AlgorithmManager
49+
*/
4150
public function create(): AlgorithmManager
4251
{
4352
return new AlgorithmManager([

app/code/Magento/JwtFrameworkAdapter/Model/JweContentAlgorithmManagerFactory.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,22 @@ class JweContentAlgorithmManagerFactory
2121
/**
2222
* @var AlgorithmProviderFactory
2323
*/
24-
private $algorithmProviderFactory;
24+
private AlgorithmProviderFactory $algorithmProviderFactory;
2525

26+
/**
27+
* Default constructor.
28+
* @param AlgorithmProviderFactory $algorithmProviderFactory
29+
*/
2630
public function __construct(AlgorithmProviderFactory $algorithmProviderFactory)
2731
{
2832
$this->algorithmProviderFactory = $algorithmProviderFactory;
2933
}
3034

35+
/**
36+
* Returns the list of names of supported algorithms.
37+
*
38+
* @return AlgorithmManager
39+
*/
3140
public function create(): AlgorithmManager
3241
{
3342
return new AlgorithmManager([

app/code/Magento/JwtFrameworkAdapter/Model/JwsAlgorithmManagerFactory.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,22 @@ class JwsAlgorithmManagerFactory
2929
/**
3030
* @var AlgorithmProviderFactory
3131
*/
32-
private $algorithmProviderFactory;
32+
private AlgorithmProviderFactory $algorithmProviderFactory;
3333

34+
/**
35+
* Default constructor.
36+
* @param AlgorithmProviderFactory $algorithmProviderFactory
37+
*/
3438
public function __construct(AlgorithmProviderFactory $algorithmProviderFactory)
3539
{
3640
$this->algorithmProviderFactory = $algorithmProviderFactory;
3741
}
3842

43+
/**
44+
* Returns the list of names of supported algorithms.
45+
*
46+
* @return AlgorithmManager
47+
*/
3948
public function create(): AlgorithmManager
4049
{
4150
return new AlgorithmManager([

0 commit comments

Comments
 (0)