Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pborreli committed Feb 1, 2014
1 parent e3b4057 commit 5ef1c51
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/Getting Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/Silex/Provider/StatsdServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function testLargePort()
public function testStringPort()
{
$this->client->configure(array(
'port' => 'not-integar'
'port' => 'not-integer'
));
}

Expand Down

0 comments on commit 5ef1c51

Please sign in to comment.