Author: marijn
Date: 2010-01-16 00:31:32 +0100 (Sat, 16 Jan 2010)
New Revision: 26706
Modified:
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/action/sfPaymentActionAbstract.php
Log:
[sfPaymentPlugin] Restrained method signature.
Modified:
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/action/sfPaymentActionAbstract.php
===================================================================
---
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/action/sfPaymentActionAbstract.php
2010-01-15 23:31:10 UTC (rev 26705)
+++
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/action/sfPaymentActionAbstract.php
2010-01-15 23:31:32 UTC (rev 26706)
@@ -22,7 +22,7 @@
*
* @return string The view type to render
*/
- protected function _processForm (sfPaymentFormAbstract $arg_form,
sfWebRequest $arg_request, $arg_route, $arg_method = 'post')
+ protected function _processForm (sfForm $arg_form, sfWebRequest
$arg_request, $arg_route, $arg_method = 'post')
{
$name = $arg_form->getName();
@@ -49,14 +49,14 @@
/**
* Process a form object when it is valid.
*
- * @param sfForm $arg_form The form to process
- * @param sfWebRequest $arg_request The request object
- * @param String $arg_route The route to which the form data
- * should be submitted
+ * @param sfPaymentFormAbstract $arg_form The form to process
+ * @param sfWebRequest $arg_request The request object
+ * @param mixed $arg_route The route to which the form
+ * data should be submitted
*
- * @return array Representing the routing data
+ * @return array Representing the routing
data
*/
- protected function _doProcessForm (sfForm $arg_form, sfWebRequest
$arg_request, $arg_route)
+ protected function _doProcessForm (sfPaymentFormAbstract $arg_form,
sfWebRequest $arg_request, $arg_route)
{
return array('sf_route' => $arg_route
,'sf_subject' => $arg_form->save()
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.