Skip to content

Commit

Permalink
Making initial components not required, fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Genar Trias Ortiz committed Jul 14, 2017
1 parent 157bdec commit 53d0803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Client
* @access public
* @return void
*/
public function __construct(array $registries, array $components, $cache = null)
public function __construct(array $registries, array $components = array(), $cache = null)
{
$config['registries'] = $registries;
$config['components'] = $components;
Expand Down

0 comments on commit 53d0803

Please sign in to comment.