Skip to content

Commit e0f6258

Browse files
committed
Fix singular phpdoc
1 parent 4bf657a commit e0f6258

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Component/DependencyInjection/ContainerBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ public function getAlias(string $id): Alias
880880
/**
881881
* Registers a service definition.
882882
*
883-
* This methods allows for simple registration of service definition
883+
* This method allows for simple registration of service definition
884884
* with a fluid interface.
885885
*/
886886
public function register(string $id, ?string $class = null): Definition

src/Symfony/Component/Form/FormRegistryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface FormRegistryInterface
2121
/**
2222
* Returns a form type by name.
2323
*
24-
* This methods registers the type extensions from the form extensions.
24+
* This method registers the type extensions from the form extensions.
2525
*
2626
* @throws Exception\InvalidArgumentException if the type cannot be retrieved from any extension
2727
*/

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ public function getMaxAge(): ?int
777777
/**
778778
* Sets the number of seconds after which the response should no longer be considered fresh.
779779
*
780-
* This methods sets the Cache-Control max-age directive.
780+
* This method sets the Cache-Control max-age directive.
781781
*
782782
* @return $this
783783
*
@@ -825,7 +825,7 @@ public function setStaleWhileRevalidate(int $value): static
825825
/**
826826
* Sets the number of seconds after which the response should no longer be considered fresh by shared caches.
827827
*
828-
* This methods sets the Cache-Control s-maxage directive.
828+
* This method sets the Cache-Control s-maxage directive.
829829
*
830830
* @return $this
831831
*

0 commit comments

Comments
 (0)