[ ' [ '$a' => 'string', '$b' => 'string', ], ], 'simpleVarsWithSeparateTypes' => [ ' [ '$a' => 'string', '$b' => 'int', ], ], 'simpleVarsWithSeparateTypesInVar' => [ ' [ '$a' => 'string', '$b' => 'int', ], ], 'thisVar' => [ 'a, $this->b) = ["a", "b"]; return $this->a; } }', ], 'mixedNestedAssignment' => [ ' [ '$a' => 'mixed', '$b' => 'mixed', '$c' => 'mixed', ], ], ]; } /** * @return array */ public function providerFileCheckerInvalidCodeParse() { return [ 'thisVarWithBadType' => [ 'a, $this->b) = ["a", "b"]; return $this->a; } }', 'error_message' => 'InvalidPropertyAssignmentValue - src/somefile.php:11', ], ]; } }