File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function __construct(array $options = [])
5656
5757 public function build ()
5858 {
59- if ($ this ->options ->offsetExists ('directory ' )) {
59+ if ($ this ->options ->offsetExists ('directory ' ) && $ this -> options -> get ( ' directory ' ) !== null ) {
6060 $ this ->path ->setRootPath ($ this ->options ->get ('directory ' ));
6161 }
6262
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function __construct(array $options = [])
5858 */
5959 public function build ()
6060 {
61- if ($ this ->options ->offsetExists ('directory ' )) {
61+ if ($ this ->options ->offsetExists ('directory ' ) && $ this -> options -> get ( ' directory ' ) !== null ) {
6262 $ this ->path ->setRootPath ($ this ->options ->get ('directory ' ));
6363 }
6464
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function build()
7474 . 'templates ' . DIRECTORY_SEPARATOR . 'module ' ;
7575 }
7676
77- if ($ this ->options ->offsetExists ('directory ' )) {
77+ if ($ this ->options ->offsetExists ('directory ' ) && $ this -> options -> get ( ' directory ' ) !== null ) {
7878 $ this ->path ->setRootPath ($ this ->options ->get ('directory ' ));
7979 }
8080
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ class Project extends Component
6666 */
6767 public function build ()
6868 {
69- if ($ this ->options ->offsetExists ('directory ' )) {
69+ if ($ this ->options ->offsetExists ('directory ' ) && $ this -> options -> get ( ' directory ' ) !== null ) {
7070 $ this ->path ->setRootPath ($ this ->options ->get ('directory ' ));
7171 }
7272
You can’t perform that action at this time.
0 commit comments