Skip to content

Commit acb243f

Browse files
author
Oleksii Korshenko
committed
MAGETWO-52792: ACL node title stated as optional in xsd but required in logic
- fixed methods doc blocks
1 parent eac5b76 commit acb243f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lib/internal/Magento/Framework/Acl/AclResource/Config/SchemaLocator.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,26 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface
1515
*/
1616
protected $urnResolver;
1717

18+
/**
19+
* Initialize dependencies.
20+
*
21+
* @param \Magento\Framework\Config\Dom\UrnResolver $urnResolver
22+
*/
1823
public function __construct(\Magento\Framework\Config\Dom\UrnResolver $urnResolver)
1924
{
2025
$this->urnResolver = $urnResolver;
2126
}
2227

2328
/**
24-
* Get path to merged config schema
25-
*
26-
* @return string
29+
* {@inheritdoc}
2730
*/
2831
public function getSchema()
2932
{
3033
return $this->urnResolver->getRealPath('urn:magento:framework:Acl/etc/acl_merged.xsd');
3134
}
3235

3336
/**
34-
* Get path to pre file validation schema
35-
*
36-
* @return null
37+
* {@inheritdoc}
3738
*/
3839
public function getPerFileSchema()
3940
{

0 commit comments

Comments
 (0)