Skip to content

Commit 596759b

Browse files
committed
Fixed typos
1 parent 5218769 commit 596759b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Decoder/JsonToFormDecoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private function xWwwFormEncodedLike(&$data)
3636
// Checkbox-like behavior: remove false data
3737
unset($data[$key]);
3838
} elseif (!is_string($value)) {
39-
// Convert everyting to string
39+
// Convert everything to string
4040
// true values will be converted to '1', this is the default checkbox behavior
4141
$value = strval($value);
4242
}

Resources/doc/1-setting_up_the_bundle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function registerBundles()
3131
// ...
3232
new FOS\RestBundle\FOSRestBundle(),
3333

34-
// if you installed FOSRestBundle using composer you shoudn't forget
34+
// if you installed FOSRestBundle using composer you shouldn't forget
3535
// also registering JMSSerializerBundle.
3636

3737
// new JMS\SerializerBundle\JMSSerializerBundle(),

Resources/doc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Installation is a quick (I promise!) 1 step process:
1010
## Bundle usage
1111

1212
Before you start using the bundle it is advised you run a quick look over the 5 sections listed below.
13-
This bundle contains many features that are loosly coupled so you may or may not need to use all of
13+
This bundle contains many features that are loosely coupled so you may or may not need to use all of
1414
them. This bundle is just a tool to help you in the job of creating a REST API with Symfony2.
1515

1616
FOSRestBundle provides several tools to assist in building REST applications:

Routing/Loader/Reader/RestActionReader.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ class RestActionReader
4343
/**
4444
* Initializes controller reader.
4545
*
46-
* @param Reader $annotationReader annotation reader
47-
* @param queryParamReader $queryParamReader query param reader
46+
* @param Reader $annotationReader annotation reader
47+
* @param ParamReader $paramReader query param reader
4848
* @param InflectorInterface $inflector
4949
* @param boolean $includeFormat
50+
* @param array $formats
5051
*/
5152
public function __construct(Reader $annotationReader, ParamReader $paramReader, InflectorInterface $inflector, $includeFormat, array $formats = array())
5253
{

0 commit comments

Comments
 (0)