T_PAAMAYIM_NEKUDOTAYIM should not be used on an instance

May 30, 2012 at 2:17 PM
Edited May 30, 2012 at 2:18 PM

Hey,

 

I was wandering through the source code and I saw a few times  in this file:

library/ODataProducer/UriProcessor/RequestDescription.php

an illegal use of "::"  It was used on an instance of a class.

 

$requestDescription::xxx

This should be corrected by $requestDescription->xx  or by Requestdescription::xxx

(the last one is te correct one I guess)