Skip to content

Commit

Permalink
Nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
holyshared committed Apr 2, 2015
1 parent 69a39b0 commit c2bdc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/RuntimeConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class RuntimeConfiguration implements Configuration
* @param \expect\PackageRegistrar[] $matcherRegistrars package registrars
* @param ResultReporter $resultReporter reporter of result
*/
public function __construct(array $matcherRegistrars, ResultReporter $resultReporter)
public function __construct(array $matcherRegistrars = [], ResultReporter $resultReporter = null)
{
$this->resultReporter = $resultReporter;
$this->matcherRegistrars = $matcherRegistrars;
Expand Down

0 comments on commit c2bdc80

Please sign in to comment.