I am new to Aptana, so not all behavioral models are sorted. I have PHP code that works, but Aptana throws syntax errors in both brackets:
public function addRecord($data) { $request = [ 'action' => 'addrecord', 'data' => json_encode($data) ]; return $this->requestJson($request, 'POST'); }
What I do not see here?
source share