Skip to content

Commit e24cafc

Browse files
committed
Cleanup
1 parent 6a2de00 commit e24cafc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ClientFactory/PluginClientFactory.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
namespace Http\HttplugBundle\ClientFactory;
44

5+
use Http\Client\Plugin\Plugin;
56
use Http\Client\Plugin\PluginClient;
67

78
/**
89
* This factory creates a PluginClient.
910
*
1011
* @author Tobias Nyholm <[email protected]>
1112
*/
12-
class PluginClientFactory
13+
final class PluginClientFactory
1314
{
1415
/**
15-
* @param array $plugins
16+
* @param Plugin[] $plugins
1617
* @param ClientFactory $factory
1718
* @param array $config
1819
*

HttplugFactory.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public function find($type)
3737
{
3838
$class = $this->findOneByType($type);
3939

40-
// TODO: use doctrine instantiator?
4140
return new $class();
4241
}
4342

@@ -74,7 +73,7 @@ private function findOneByType($type)
7473
}
7574

7675
/**
77-
* Evaulates conditions to boolean.
76+
* Evaluates conditions to boolean.
7877
*
7978
* @param mixed $condition
8079
*

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HttplugBundle
1+
# Symfony integration for HTTPlug
22

33
[![Latest Version](https://img.shields.io/github/release/php-http/HttplugBundle.svg?style=flat-square)](https://github.com/php-http/HttplugBundle/releases)
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)

0 commit comments

Comments
 (0)