File tree Expand file tree Collapse file tree 3 files changed +30
-3
lines changed
app/code/Magento/JwtFrameworkAdapter/Model Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,22 @@ class JweAlgorithmManagerFactory
31
31
/**
32
32
* @var AlgorithmProviderFactory
33
33
*/
34
- private $ algorithmProviderFactory ;
34
+ private AlgorithmProviderFactory $ algorithmProviderFactory ;
35
35
36
+ /**
37
+ * Default constructor.
38
+ * @param AlgorithmProviderFactory $algorithmProviderFactory
39
+ */
36
40
public function __construct (AlgorithmProviderFactory $ algorithmProviderFactory )
37
41
{
38
42
$ this ->algorithmProviderFactory = $ algorithmProviderFactory ;
39
43
}
40
44
45
+ /**
46
+ * Returns the list of names of supported algorithms.
47
+ *
48
+ * @return AlgorithmManager
49
+ */
41
50
public function create (): AlgorithmManager
42
51
{
43
52
return new AlgorithmManager ([
Original file line number Diff line number Diff line change @@ -21,13 +21,22 @@ class JweContentAlgorithmManagerFactory
21
21
/**
22
22
* @var AlgorithmProviderFactory
23
23
*/
24
- private $ algorithmProviderFactory ;
24
+ private AlgorithmProviderFactory $ algorithmProviderFactory ;
25
25
26
+ /**
27
+ * Default constructor.
28
+ * @param AlgorithmProviderFactory $algorithmProviderFactory
29
+ */
26
30
public function __construct (AlgorithmProviderFactory $ algorithmProviderFactory )
27
31
{
28
32
$ this ->algorithmProviderFactory = $ algorithmProviderFactory ;
29
33
}
30
34
35
+ /**
36
+ * Returns the list of names of supported algorithms.
37
+ *
38
+ * @return AlgorithmManager
39
+ */
31
40
public function create (): AlgorithmManager
32
41
{
33
42
return new AlgorithmManager ([
Original file line number Diff line number Diff line change @@ -29,13 +29,22 @@ class JwsAlgorithmManagerFactory
29
29
/**
30
30
* @var AlgorithmProviderFactory
31
31
*/
32
- private $ algorithmProviderFactory ;
32
+ private AlgorithmProviderFactory $ algorithmProviderFactory ;
33
33
34
+ /**
35
+ * Default constructor.
36
+ * @param AlgorithmProviderFactory $algorithmProviderFactory
37
+ */
34
38
public function __construct (AlgorithmProviderFactory $ algorithmProviderFactory )
35
39
{
36
40
$ this ->algorithmProviderFactory = $ algorithmProviderFactory ;
37
41
}
38
42
43
+ /**
44
+ * Returns the list of names of supported algorithms.
45
+ *
46
+ * @return AlgorithmManager
47
+ */
39
48
public function create (): AlgorithmManager
40
49
{
41
50
return new AlgorithmManager ([
You can’t perform that action at this time.
0 commit comments