Fixed PHP strict warning.

Details here: https://drupal.org/node/2272607