Skip to content

Commit

Permalink
Merge pull request #70 from sandwave-io/quick-fix-client
Browse files Browse the repository at this point in the history
quickfix for laravel serviceprovider
  • Loading branch information
ThomasRedpanda authored Jun 17, 2022
2 parents 9f488e6 + 531ffdd commit 768dfa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ parameters:
paths:
- src
- tests
excludes_analyse:
- %currentWorkingDirectory%/src/Office/OfficeClient*

ignoreErrors:
# Extending classes.
Expand Down
2 changes: 1 addition & 1 deletion src/Office/OfficeClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ final class OfficeClient
/**
* @param array<mixed> $webApiOptions
*/
public function __construct(string $host, string $username, string $password, array $webApiOptions = [])
public function __construct(?string $host, ?string $username, ?string $password, array $webApiOptions = [])
{
$this->parameterContainer = new ParameterContainer([
'host' => $host,
Expand Down

0 comments on commit 768dfa3

Please sign in to comment.