Skip to content

Commit 06048eb

Browse files
committed
Explicitly require array argument
1 parent 1547b4c commit 06048eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JsonSchema/Constraints/Factory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function __construct(
9797
*
9898
* @param array $config
9999
*/
100-
public function setConfig($config)
100+
public function setConfig(array $config)
101101
{
102102
$this->config = array_merge($this->config, $config);
103103
}
@@ -124,7 +124,7 @@ public function getConfig($param = null)
124124
*
125125
* @param array $config
126126
*/
127-
public function restoreConfig($config)
127+
public function restoreConfig(array $config)
128128
{
129129
$this->config = $config;
130130
}

0 commit comments

Comments
 (0)