joined:Feb 22, 2009
static function afunction(stdClass $Req, Array $Dec, Object $logged)
Is this a proper way, ie do you really need to declare stdClass within a class function? I have never seen this before, nor had the need to use this sort of thing, it's just got me thinking. I know about declaring 'Array' for only accepting array's into functions, and Objects for only objects etc, I'm not even sure where to look in the manual for this?
Advice; better methods; suggestions please?