Permalink
Browse files

Fixed typos

  • Loading branch information...
1 parent e3b4057 commit 5ef1c515f9ddef74f770167370e5a1ca457272d1 @pborreli pborreli committed Feb 1, 2014
Showing with 7 additions and 6 deletions.
  1. +2 −2 docs/Getting Started.md
  2. +3 −2 src/Client.php
  3. +1 −1 src/Silex/Provider/StatsdServiceProvider.php
  4. +1 −1 tests/ConfigurationTest.php
@@ -31,12 +31,12 @@ $statsd->configure(array(
));
```
-**Note** The namespace is optional, but reccomended.
+**Note** The namespace is optional, but recommended.
## Metrics
-There are various different matrics you can use withi StatsD. Here are a few below.
+There are various different metrics you can use within StatsD. Here are a few below.
```php
$statsd->increment('metric'); // Increment a metric by 1
View
@@ -71,6 +71,7 @@ public static function instance($name = 'default')
/**
* Create a new instance
+ * @param string $instance_id
* @return void
*/
public function __construct($instance_id = null)
@@ -196,7 +197,7 @@ public function decrement($metrics, $delta = 1, $sampleRate = 1)
/**
* Timing
* @param string $metric Metric to track
- * @param float $time Time in miliseconds
+ * @param float $time Time in milliseconds
* @return bool True if data transfer is successful
*/
public function timing($metric, $time)
@@ -212,7 +213,7 @@ public function timing($metric, $time)
/**
* Time a function
* @param string $metric Metric to time
- * @param callable Function to record
+ * @param callable $func Function to record
* @return bool True if data transfer is successful
*/
public function time($metric, $func)
@@ -47,7 +47,7 @@ function () use ($app) {
/**
* Boot Method
- * @param Aplication $app Silex application instance
+ * @param Application $app Silex application instance
* @codeCoverageIgnore
*/
public function boot(Application $app)
@@ -24,7 +24,7 @@ public function testLargePort()
public function testStringPort()
{
$this->client->configure(array(
- 'port' => 'not-integar'
+ 'port' => 'not-integer'
));
}

0 comments on commit 5ef1c51

Please sign in to comment.