@@ -28,7 +28,7 @@ final class DebugPluginCollector extends DataCollector
28
28
private $ journal ;
29
29
30
30
/**
31
- * @param Formatter $formatter
31
+ * @param Formatter $formatter
32
32
* @param PluginJournal $journal
33
33
*/
34
34
public function __construct (Formatter $ formatter , PluginJournal $ journal )
@@ -39,8 +39,8 @@ public function __construct(Formatter $formatter, PluginJournal $journal)
39
39
40
40
/**
41
41
* @param RequestInterface $request
42
- * @param string $clientName
43
- * @param int $depth
42
+ * @param string $clientName
43
+ * @param int $depth
44
44
*/
45
45
public function addRequest (RequestInterface $ request , $ clientName , $ depth )
46
46
{
@@ -49,8 +49,8 @@ public function addRequest(RequestInterface $request, $clientName, $depth)
49
49
50
50
/**
51
51
* @param ResponseInterface $response
52
- * @param string $clientName
53
- * @param int $depth
52
+ * @param string $clientName
53
+ * @param int $depth
54
54
*/
55
55
public function addResponse (ResponseInterface $ response , $ clientName , $ depth )
56
56
{
@@ -60,8 +60,8 @@ public function addResponse(ResponseInterface $response, $clientName, $depth)
60
60
61
61
/**
62
62
* @param Exception $exception
63
- * @param string $clientName
64
- * @param int $depth
63
+ * @param string $clientName
64
+ * @param int $depth
65
65
*/
66
66
public function addFailure (Exception $ exception , $ clientName , $ depth )
67
67
{
@@ -86,7 +86,6 @@ public function getSucessfulRequests()
86
86
{
87
87
$ count = 0 ;
88
88
foreach ($ this ->data as $ client ) {
89
-
90
89
if (isset ($ client ['failure ' ])) {
91
90
foreach ($ client ['failure ' ][0 ] as $ failure ) {
92
91
if (!$ failure ) {
@@ -108,7 +107,6 @@ public function getFailedRequests()
108
107
{
109
108
$ count = 0 ;
110
109
foreach ($ this ->data as $ client ) {
111
-
112
110
if (isset ($ client ['failure ' ])) {
113
111
foreach ($ client ['failure ' ][0 ] as $ failure ) {
114
112
if ($ failure ) {
0 commit comments