diff --git a/src/Symfony/Component/DependencyInjection/ContainerBuilder.php b/src/Symfony/Component/DependencyInjection/ContainerBuilder.php index dcdec0ac25788..dcbf1b36f519d 100644 --- a/src/Symfony/Component/DependencyInjection/ContainerBuilder.php +++ b/src/Symfony/Component/DependencyInjection/ContainerBuilder.php @@ -880,7 +880,7 @@ public function getAlias(string $id): Alias /** * Registers a service definition. * - * This methods allows for simple registration of service definition + * This method allows for simple registration of service definition * with a fluid interface. */ public function register(string $id, ?string $class = null): Definition diff --git a/src/Symfony/Component/Form/FormRegistryInterface.php b/src/Symfony/Component/Form/FormRegistryInterface.php index b1e77898e2234..5c76b5c67843c 100644 --- a/src/Symfony/Component/Form/FormRegistryInterface.php +++ b/src/Symfony/Component/Form/FormRegistryInterface.php @@ -21,7 +21,7 @@ interface FormRegistryInterface /** * Returns a form type by name. * - * This methods registers the type extensions from the form extensions. + * This method registers the type extensions from the form extensions. * * @throws Exception\InvalidArgumentException if the type cannot be retrieved from any extension */ diff --git a/src/Symfony/Component/HttpFoundation/Response.php b/src/Symfony/Component/HttpFoundation/Response.php index 0ebe65f43dc01..22c09a01fc9db 100644 --- a/src/Symfony/Component/HttpFoundation/Response.php +++ b/src/Symfony/Component/HttpFoundation/Response.php @@ -777,7 +777,7 @@ public function getMaxAge(): ?int /** * Sets the number of seconds after which the response should no longer be considered fresh. * - * This methods sets the Cache-Control max-age directive. + * This method sets the Cache-Control max-age directive. * * @return $this * @@ -825,7 +825,7 @@ public function setStaleWhileRevalidate(int $value): static /** * Sets the number of seconds after which the response should no longer be considered fresh by shared caches. * - * This methods sets the Cache-Control s-maxage directive. + * This method sets the Cache-Control s-maxage directive. * * @return $this *