We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4747cbc commit 76c1d03Copy full SHA for 76c1d03
redux-core/inc/classes/class-redux-field.php
@@ -149,13 +149,13 @@ public static function make_descriptor() {
149
/**
150
* Redux_Field constructor.
151
*
152
- * @param array $field Field array.
+ * @param array|string|null $field Field array.
153
* @param string|array|null $value Field values.
154
* @param null $parent ReduxFramework object pointer.
155
156
* @throws ReflectionException Comment.
157
*/
158
- public function __construct( array $field = array(), $value = null, $parent = null ) {
+ public function __construct( $field = array(), $value = null, $parent = null ) {
159
$this->parent = $parent;
160
$this->field = $field;
161
$this->value = $value;
0 commit comments