Job: Fix typo in exception message for invalid specification
authorMáté Szabó <mszabo@wikia-inc.com>
Sun, 26 May 2019 12:22:45 +0000 (14:22 +0200)
committerMáté Szabó <mszabo@wikia-inc.com>
Sun, 26 May 2019 12:22:45 +0000 (14:22 +0200)
commitc8854dd1fef6f1614a8d96c16cdcbf7999d72194
tree687d67b1045d8d15f1b648a5a5f9db89ffc28534
parent6382d23637cf51848ec9976ca3bde6f605fc9801
Job: Fix typo in exception message for invalid specification

The Job::factory method throws an InvalidArgumentException if a given
job specification is invalid. The error message for this exception was
worded in correctly. This patch improves the message to avoid confusion.

Change-Id: I6cab739263c1d3530c0650823db022dd5a4b60bc
includes/jobqueue/Job.php