Skip to content

Commit 166e034

Browse files
committed
MAGETWO-51929: Web Setup Wizard does not work when Magento is installed in pub
- Static fixes
1 parent ce56ad1 commit 166e034

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/internal/Magento/Framework/App/DocRoot.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,20 @@ class DocRoot
2828
* @param RequestInterface $request
2929
* @param ReadFactory $readFactory
3030
*/
31-
public function __construct(RequestInterface $request, ReadFactory $readFactory) {
31+
public function __construct(RequestInterface $request, ReadFactory $readFactory)
32+
{
3233
$this->request = $request;
3334
$this->readFactory = $readFactory;
3435
}
3536

37+
3638
/**
3739
* Returns true if doc root is pub/ and not BP
3840
*
39-
* @return string
41+
* @param $dirToCheck
42+
* @param $missingDir
43+
*
44+
* @return bool
4045
*/
4146
public function hasThisSubDir($dirToCheck, $missingDir)
4247
{

0 commit comments

Comments
 (0)