I'm new to Aptana, so don't quite have all of the behaviors sorted. I have PHP code that works, but Aptana is throwing syntax errors on both of the brackets:
public function addRecord($data)
{
$request = [
'action' => 'addrecord',
'data' => json_encode($data)
];
return $this->requestJson($request, 'POST');
}
What am I not seeing here?