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?
It seems that Aptana does support PHP 5.4 now, whereas it didn't when the original post was made.