Else PHP says no
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* @param JobList $jobList
* @param ILogger|null $logger
*/
- public function execute($jobList, ILogger $logger = null) {
+ public function execute(IJobList $jobList, ILogger $logger = null) {
$target = $this->argument['url'];
// only execute if target is still in the list of trusted domains
if ($this->trustedServers->isTrustedServer($target)) {
* @param JobList $jobList
* @param ILogger|null $logger
*/
- public function execute($jobList, ILogger $logger = null) {
+ public function execute(IJobList $jobList, ILogger $logger = null) {
$target = $this->argument['url'];
// only execute if target is still in the list of trusted domains
if ($this->trustedServers->isTrustedServer($target)) {