Skip to content

Commit edcc386

Browse files
committed
Cleanup
1 parent 6a2de00 commit edcc386

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ClientFactory/PluginClientFactory.php

Lines changed: 3 additions & 2 deletions
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

Lines changed: 1 addition & 2 deletions
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
*

0 commit comments

Comments
 (0)