Author: fabien
Date: 2010-03-21 11:20:44 +0100 (Sun, 21 Mar 2010)
New Revision: 28641
Modified:
branches/1.3/lib/request/sfRequest.class.php
branches/1.3/lib/routing/sfPatternRouting.class.php
branches/1.3/lib/test/sfTestFunctionalBase.class.php
branches/1.3/lib/view/sfView.class.php
branches/1.4/lib/request/sfRequest.class.php
branches/1.4/lib/routing/sfPatternRouting.class.php
branches/1.4/lib/test/sfTestFunctionalBase.class.php
branches/1.4/lib/view/sfView.class.php
Log:
[1.3, 1.4] fixed typos in the PHPDocs (closes #8432 - patch from Pascal)
Modified: branches/1.3/lib/request/sfRequest.class.php
===================================================================
--- branches/1.3/lib/request/sfRequest.class.php 2010-03-21 10:09:26 UTC
(rev 28640)
+++ branches/1.3/lib/request/sfRequest.class.php 2010-03-21 10:20:44 UTC
(rev 28641)
@@ -246,7 +246,7 @@
}
/**
- * Retrieves a paramater for the current request.
+ * Retrieves a parameter for the current request.
*
* @param string $name Parameter name
* @param string $default Parameter default value
@@ -262,7 +262,7 @@
*
* @param string $name Parameter name
*
- * @return bool true, if the paramater exists otherwise false
+ * @return bool true, if the parameter exists otherwise false
*/
public function hasParameter($name)
{
Modified: branches/1.3/lib/routing/sfPatternRouting.class.php
===================================================================
--- branches/1.3/lib/routing/sfPatternRouting.class.php 2010-03-21 10:09:26 UTC
(rev 28640)
+++ branches/1.3/lib/routing/sfPatternRouting.class.php 2010-03-21 10:20:44 UTC
(rev 28641)
@@ -251,7 +251,7 @@
* Adds a new route at the end of the current list of routes.
*
* A route string is a string with 2 special constructions:
- * - :string: :string denotes a named paramater (available later as
$request->getParameter('string'))
+ * - :string: :string denotes a named parameter (available later as
$request->getParameter('string'))
* - *: * match an indefinite number of parameters in a route
*
* Here is a very common rule in a symfony project:
Modified: branches/1.3/lib/test/sfTestFunctionalBase.class.php
===================================================================
--- branches/1.3/lib/test/sfTestFunctionalBase.class.php 2010-03-21
10:09:26 UTC (rev 28640)
+++ branches/1.3/lib/test/sfTestFunctionalBase.class.php 2010-03-21
10:20:44 UTC (rev 28641)
@@ -225,7 +225,7 @@
*
* @param string $uri URI to be invoked
* @param string $method HTTP method used
- * @param array $parameters Additional paramaters
+ * @param array $parameters Additional parameters
* @param bool $changeStack If set to false ActionStack is not changed
*
* @return sfTestFunctionalBase The current sfTestFunctionalBase instance
Modified: branches/1.3/lib/view/sfView.class.php
===================================================================
--- branches/1.3/lib/view/sfView.class.php 2010-03-21 10:09:26 UTC (rev
28640)
+++ branches/1.3/lib/view/sfView.class.php 2010-03-21 10:20:44 UTC (rev
28641)
@@ -299,7 +299,7 @@
/**
* Indicates whether or not a parameter exist for the current view.
*
- * @param string $name Name of the paramater
+ * @param string $name Name of the parameter
*
* @return bool true, if the parameter exists otherwise false
*/
Modified: branches/1.4/lib/request/sfRequest.class.php
===================================================================
--- branches/1.4/lib/request/sfRequest.class.php 2010-03-21 10:09:26 UTC
(rev 28640)
+++ branches/1.4/lib/request/sfRequest.class.php 2010-03-21 10:20:44 UTC
(rev 28641)
@@ -246,7 +246,7 @@
}
/**
- * Retrieves a paramater for the current request.
+ * Retrieves a parameter for the current request.
*
* @param string $name Parameter name
* @param string $default Parameter default value
@@ -262,7 +262,7 @@
*
* @param string $name Parameter name
*
- * @return bool true, if the paramater exists otherwise false
+ * @return bool true, if the parameter exists otherwise false
*/
public function hasParameter($name)
{
Modified: branches/1.4/lib/routing/sfPatternRouting.class.php
===================================================================
--- branches/1.4/lib/routing/sfPatternRouting.class.php 2010-03-21 10:09:26 UTC
(rev 28640)
+++ branches/1.4/lib/routing/sfPatternRouting.class.php 2010-03-21 10:20:44 UTC
(rev 28641)
@@ -251,7 +251,7 @@
* Adds a new route at the end of the current list of routes.
*
* A route string is a string with 2 special constructions:
- * - :string: :string denotes a named paramater (available later as
$request->getParameter('string'))
+ * - :string: :string denotes a named parameter (available later as
$request->getParameter('string'))
* - *: * match an indefinite number of parameters in a route
*
* Here is a very common rule in a symfony project:
Modified: branches/1.4/lib/test/sfTestFunctionalBase.class.php
===================================================================
--- branches/1.4/lib/test/sfTestFunctionalBase.class.php 2010-03-21
10:09:26 UTC (rev 28640)
+++ branches/1.4/lib/test/sfTestFunctionalBase.class.php 2010-03-21
10:20:44 UTC (rev 28641)
@@ -225,7 +225,7 @@
*
* @param string $uri URI to be invoked
* @param string $method HTTP method used
- * @param array $parameters Additional paramaters
+ * @param array $parameters Additional parameters
* @param bool $changeStack If set to false ActionStack is not changed
*
* @return sfTestFunctionalBase The current sfTestFunctionalBase instance
Modified: branches/1.4/lib/view/sfView.class.php
===================================================================
--- branches/1.4/lib/view/sfView.class.php 2010-03-21 10:09:26 UTC (rev
28640)
+++ branches/1.4/lib/view/sfView.class.php 2010-03-21 10:20:44 UTC (rev
28641)
@@ -288,7 +288,7 @@
/**
* Indicates whether or not a parameter exist for the current view.
*
- * @param string $name Name of the paramater
+ * @param string $name Name of the parameter
*
* @return bool true, if the parameter exists otherwise false
*/
--
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.