Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Commit 0988b54

Browse files
committed
Fixed code style
1 parent 180cb25 commit 0988b54

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/Client/StatsD.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
use HelloFresh\Stats\HTTPMetricAlterCallback;
66
use HelloFresh\Stats\Incrementer;
77
use HelloFresh\Stats\State;
8-
use HelloFresh\Stats\Timer;
98
use HelloFresh\Stats\StatsD\CachingClient as StatsDClient;
9+
use HelloFresh\Stats\Timer;
10+
use League\StatsD\Exception\ConfigurationException;
1011

1112
class StatsD extends AbstractClient implements Client
1213
{
@@ -25,8 +26,8 @@ class StatsD extends AbstractClient implements Client
2526
/**
2627
* StatsD constructor.
2728
*
28-
* @param string $dsn statsd connection dsn
29-
* @throws \League\StatsD\Exception\ConfigurationException
29+
* @param string $dsn statsd connection dsn
30+
* @throws ConfigurationException
3031
*/
3132
public function __construct($dsn)
3233
{

src/StatsD/CachingClient.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
2-
32
namespace HelloFresh\Stats\StatsD;
43

5-
64
use League\StatsD\Client;
75
use League\StatsD\Exception\ConnectionException;
86

@@ -12,8 +10,8 @@ class CachingClient extends Client
1210
protected $socket;
1311

1412
/**
15-
* @return resource
1613
* @throws ConnectionException
14+
* @return resource
1715
*/
1816
protected function getSocket()
1917
{
@@ -29,9 +27,9 @@ protected function getSocket()
2927

3028
/**
3129
* Send Data to StatsD Server
32-
* @param array $data A list of messages to send to the server
33-
* @return $this
30+
* @param array $data A list of messages to send to the server
3431
* @throws ConnectionException If there is a connection problem with the host
32+
* @return $this
3533
*/
3634
protected function send(array $data)
3735
{

0 commit comments

Comments
 (0)