Skip to content

Commit 2ff5b07

Browse files
committed
Shorten unnecessary fully-qualified class names
1 parent 85938f9 commit 2ff5b07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/internal/Magento/Framework/UrlFactory.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class UrlFactory
1212
{
1313
/**
14-
* @var \Magento\Framework\ObjectManagerInterface
14+
* @var ObjectManagerInterface
1515
*/
1616
protected $_objectManager = null;
1717

@@ -21,10 +21,10 @@ class UrlFactory
2121
protected $_instanceName = null;
2222

2323
/**
24-
* @param \Magento\Framework\ObjectManagerInterface $objectManager
24+
* @param ObjectManagerInterface $objectManager
2525
* @param string $instanceName
2626
*/
27-
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName = UrlInterface::class)
27+
public function __construct(ObjectManagerInterface $objectManager, $instanceName = UrlInterface::class)
2828
{
2929
$this->_objectManager = $objectManager;
3030
$this->_instanceName = $instanceName;
@@ -34,7 +34,7 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan
3434
* Create Url instance with specified parameters
3535
*
3636
* @param array $data
37-
* @return \Magento\Framework\UrlInterface
37+
* @return UrlInterface
3838
*/
3939
public function create(array $data = [])
4040
{

0 commit comments

Comments
 (0)