Skip to content
Snippets Groups Projects
Commit 8df46521 authored by Meysam Zandy's avatar Meysam Zandy
Browse files

fix Type hint "array" missing for $values

parent 08e51ba8
Branches
Tags 8.x-1.1
No related merge requests found
......@@ -61,7 +61,7 @@ class Fields {
* @return mixed
* Return in mixed .
*/
public function getArrayPush(array $data, string $key, $values) {
public function getArrayPush(array $data, string $key, array $values) {
array_push($data, [str_replace(self::FIELD, self::EMPTY, $key) => $values]);
// Return Data in array.
return $data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment