Skip to content

Commit

Permalink
[Component] Fixed some spelling typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pborreli authored and fabpot committed Oct 17, 2010
1 parent 082090d commit 86cc6a1
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/Symfony/Component/DependencyInjection/Container.php
Expand Up @@ -123,7 +123,7 @@ public function getParameter($name)
*
* @param string $name The parameter name
*
* @return boolean The presense of parameter in container
* @return boolean The presence of parameter in container
*/
public function hasParameter($name)
{
Expand Down
Expand Up @@ -200,7 +200,7 @@ protected function escape($arguments)
}

/**
* @throws \RuntimeException When trying to dump object or ressource
* @throws \RuntimeException When trying to dump object or resource
*/
static public function phpToXml($value)
{
Expand Down
Expand Up @@ -21,7 +21,7 @@
class ContentTypeMimeTypeGuesser implements MimeTypeGuesserInterface
{
/**
* Returns whether this guesser is supported on the corrent OS/PHP setup
* Returns whether this guesser is supported on the current OS/PHP setup
*
* @return boolean
*/
Expand Down
Expand Up @@ -21,7 +21,7 @@
class FileinfoMimeTypeGuesser implements MimeTypeGuesserInterface
{
/**
* Returns whether this guesser is supported on the corrent OS/PHP setup
* Returns whether this guesser is supported on the current OS/PHP setup
*
* @return boolean
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpFoundation/Response.php
Expand Up @@ -295,7 +295,7 @@ public function setPrivate($value)
*
* This method indicates that the response must not be served stale by a
* cache in any circumstance without first revalidating with the origin.
* When present, the TTL of the response should not be overriden to be
* When present, the TTL of the response should not be overridden to be
* greater than the value provided by the origin.
*
* @return Boolean true if the response must be revalidated by a cache, false otherwise
Expand Down
8 changes: 4 additions & 4 deletions src/Symfony/Component/HttpKernel/Cache/Cache.php
Expand Up @@ -59,12 +59,12 @@ class Cache implements HttpKernelInterface
* * stale_while_revalidate Specifies the default number of seconds (the granularity is the second as the
* Response TTL precision is a second) during which the cache can immediately return
* a stale response while it revalidates it in the background (default: 2).
* This setting is overriden by the stale-while-revalidate HTTP Cache-Control
* This setting is overridden by the stale-while-revalidate HTTP Cache-Control
* extension (see RFC 5861).
*
* * stale_if_error Specifies the default number of seconds (the granularit is the second) during which
* * stale_if_error Specifies the default number of seconds (the granularity is the second) during which
* the cache can server a stale response when an error is encountered (default: 60).
* This setting is overriden by the stale-if-error HTTP Cache-Control extension
* This setting is overridden by the stale-if-error HTTP Cache-Control extension
* (see RFC 5861).
*
* @param HttpKernelInterface $kernel An HttpKernelInterface instance
Expand Down Expand Up @@ -138,7 +138,7 @@ public function getRequest()
*/
public function handle(Request $request = null, $type = HttpKernelInterface::MASTER_REQUEST, $raw = false)
{
// FIXME: catch exceptions and implement a 500 error page here? -> in Varnish, there is a built-it error page mechanism
// FIXME: catch exceptions and implement a 500 error page here? -> in Varnish, there is a built-in error page mechanism
if (null === $request) {
$request = new Request();
}
Expand Down
Expand Up @@ -21,7 +21,7 @@
class ApacheMatcherDumper extends MatcherDumper
{
/**
* Dumps a set of routes to a .htacces format.
* Dumps a set of routes to a .htaccess format.
*
* Available options:
*
Expand Down
Expand Up @@ -16,7 +16,7 @@
/**
* MessageCatalogueInterface.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface MessageCatalogueInterface
{
Expand All @@ -29,8 +29,6 @@ function getLocale();

/**
* Gets the domains.
*
* @param array An array of domains
*/
function getDomains();

Expand All @@ -41,7 +39,7 @@ function getDomains();
*
* @param string $domain The domain name
*
* @param array An array of messages
* @return array An array of messages
*/
function getMessages($domain = null);

Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/Translation/TranslatorInterface.php
Expand Up @@ -14,7 +14,7 @@
/**
* TranslatorInterface.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface TranslatorInterface
{
Expand Down Expand Up @@ -53,7 +53,7 @@ function setLocale($locale);
/**
* Returns the current locale.
*
* @return stringThe locale
* @return string The locale
*/
function getLocale();
}

0 comments on commit 86cc6a1

Please sign in to comment.