Fixed various PHP Strict warnings.

These warnings were showing up when in debug mode with warnings enabled.

The first two are just adding the arguments of the parents to the child, and the third is just committing the value to a variable before using it as per PHP strict suggestions.