solved activity stream speed issue

solved activity stream speed issue
Following issues are in this line:
+ TRUE, FALSE and NULL must be lowercase; expected `null` but found `NULL`;
+ Access modifier is not used. Please use `public`, `private` or `protected` depends on visibility of this function.
+ There should be a one space after `,`
+ There should be a space before and after `=`
+ __getUserDetailMini__ is not looks informative. I would suggest `getRequiredUserDetail` instead. or any more meaning full name for the function.