Skip to content

Commit

Permalink
minor #51 Default shared files/dir to an empty array (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0.x-dev branch.

Discussion
----------

Default shared files/dir to an empty array

This makes the same change as proposed by @RickSeymour in #44 ... but I couldn't fix the conflicts of his pull request, so I'm creating a new one. Thanks!

Commits
-------

f456373 Default shared files/dir to an empty array
  • Loading branch information
javiereguiluz committed Mar 31, 2018
2 parents bbd0c87 + f456373 commit 62153f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/DefaultConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function fixPermissionsWithAcl(string $webServerUser): self
}

// Relative to the project root directory
public function sharedFilesAndDirs(array $paths): self
public function sharedFilesAndDirs(array $paths = []): self
{
$this->sharedDirs = [];
$this->sharedFiles = [];
Expand Down

0 comments on commit 62153f7

Please sign in to comment.