Skip to content

Commit 540298f

Browse files
tiagosampaiotorhoehn
authored andcommitted
Fixing annotations for some methods.
1 parent de27216 commit 540298f

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

lib/internal/Magento/Framework/Acl/AclResource/Config/Converter/Dom.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class Dom implements \Magento\Framework\Config\ConverterInterface
1212
*
1313
* @param \DOMDocument $source
1414
* @return array
15+
* @throws \Exception
1516
*/
1617
public function convert($source)
1718
{

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public function __construct(\Magento\Framework\Config\Dom\UrnResolver $urnResolv
2727

2828
/**
2929
* {@inheritdoc}
30+
*
31+
* @throws \Magento\Framework\Exception\NotFoundException
3032
*/
3133
public function getSchema()
3234
{
@@ -35,6 +37,8 @@ public function getSchema()
3537

3638
/**
3739
* {@inheritdoc}
40+
*
41+
* @throws \Magento\Framework\Exception\NotFoundException
3842
*/
3943
public function getPerFileSchema()
4044
{

lib/internal/Magento/Framework/Acl/Loader/ResourceLoader.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function __construct(ProviderInterface $resourceProvider, AclResourceFact
4343
*
4444
* @param Acl $acl
4545
* @return void
46+
* @throws \Zend_Acl_Exception
4647
*/
4748
public function populateAcl(Acl $acl)
4849
{
@@ -57,6 +58,7 @@ public function populateAcl(Acl $acl)
5758
* @param AclResource $parent
5859
* @return void
5960
* @throws \InvalidArgumentException
61+
* @throws \Zend_Acl_Exception
6062
*/
6163
protected function _addResourceTree(Acl $acl, array $resources, AclResource $parent = null)
6264
{

0 commit comments

Comments
 (0)