Skip to content

Commit 53d0803

Browse files
author
Genar Trias Ortiz
committed
Making initial components not required, fix #5
1 parent 157bdec commit 53d0803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Client
1818
* @access public
1919
* @return void
2020
*/
21-
public function __construct(array $registries, array $components, $cache = null)
21+
public function __construct(array $registries, array $components = array(), $cache = null)
2222
{
2323
$config['registries'] = $registries;
2424
$config['components'] = $components;

0 commit comments

Comments
 (0)