1
0
Fork 0

type-hint array for setConfig & setScripts

pull/5401/head
Sven Wittevrongel 2016-06-03 12:00:32 +01:00
parent 3ad5f1843b
commit b80c33ba5c
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class RootPackage extends CompletePackage implements RootPackageInterface
*
* @param array $config
*/
public function setConfig($config)
public function setConfig(array $config)
{
$this->config = $config;
}
@ -104,7 +104,7 @@ class RootPackage extends CompletePackage implements RootPackageInterface
*
* @param array $scripts
*/
public function setScripts($scripts)
public function setScripts(array $scripts)
{
$this->scripts = $scripts;
}