Make Job::toString handle non-primitive parameters.
authordaniel <daniel.kinzler@wikimedia.de>
Wed, 23 Jan 2013 18:39:49 +0000 (19:39 +0100)
committerdaniel <daniel.kinzler@wikimedia.de>
Wed, 23 Jan 2013 18:39:49 +0000 (19:39 +0100)
commit106f86c2107c23638bbcb078a74865e1051dd534
tree32319b6f267de567dc6280278a404881a671f565
parent833dbe4849bc1c593ab7043c91e19863f987e00c
Make Job::toString handle non-primitive parameters.

Depending on PHP version, configuration and platform, Job::toString
would cause warnings like this if non-primitive parameters where
used in the job:

Notice: Array to string conversion in C:\xampp\htdocs\wikidata-client\includes\job\Job.php on line 245

This change takes care of providing a sane representation of
non-primitive values.

Change-Id: I00ac52d40d39d8219626f5116172950f1b7af381
includes/job/Job.php