08-01-2017, 12:57 PM
Hi Everybody,
I get a error in function first in DB Class.
public function first(){
return $this->results()[0];
}
I don't understand this sintaxe: return $this->results()[0];
Is the [0] a paramter?
Help me please
Thanks
I get a error in function first in DB Class.
public function first(){
return $this->results()[0];
}
I don't understand this sintaxe: return $this->results()[0];
Is the [0] a paramter?
Help me please
Thanks