Development

#7705 ([PATCH] [sfJobQueuePlugin] documentation wrong)

You must first sign up to be able to contribute.

Ticket #7705 (new documentation)

Opened 3 years ago

[PATCH] [sfJobQueuePlugin] documentation wrong

Reported by: tuebernickel Assigned to: xavier
Priority: minor Milestone: plugins
Component: sfJobQueuePlugin Version: 1.2.9
Keywords: Cc:
Qualification: Unreviewed

Description

Applies to branch: http://svn.symfony-project.com/plugins/sfJobQueuePlugin/branches/1.2

The documentation (README) contains an example JobHandler, which declares the method run() instead of runJob().

Patch

Index: README
===================================================================
--- README	(revision 24401)
+++ README	(working copy)
@@ -263,6 +263,7 @@
     return array('from', 'to', 'subject', 'message');
   }
 
+  // in 1.2 branch use runJob(array $params)
   public function run(array $params)
   {
     if (mail($params['to'],