Skip to content

Commit 82d06c9

Browse files
committed
minor symfony#56828 Fix singular phpdoc (alamirault)
This PR was merged into the 7.1 branch. Discussion ---------- Fix singular phpdoc | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT (Found while reviewing symfony#56823) Commits ------- e0f6258 Fix singular phpdoc
2 parents 4bf657a + e0f6258 commit 82d06c9

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)