Skip to content

Commit 637dbb7

Browse files
committed
[TASK] Reformat code to PSR-2 standard
1 parent b3cbc65 commit 637dbb7

15 files changed

Lines changed: 2575 additions & 2465 deletions

Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Client/ClientFactory.php

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,21 @@
1818
*
1919
* @Flow\Scope("singleton")
2020
*/
21-
class ClientFactory {
21+
class ClientFactory
22+
{
23+
/**
24+
* @Flow\Inject
25+
* @var \Flowpack\ElasticSearch\Domain\Factory\ClientFactory
26+
*/
27+
protected $clientFactory;
2228

23-
/**
24-
* @Flow\Inject
25-
* @var \Flowpack\ElasticSearch\Domain\Factory\ClientFactory
26-
*/
27-
protected $clientFactory;
28-
29-
/**
30-
* Create a client
31-
*
32-
* @return \Flowpack\ElasticSearch\Domain\Model\Client
33-
*/
34-
public function create() {
35-
return $this->clientFactory->create(NULL, 'Flowpack\ElasticSearch\ContentRepositoryAdaptor\ElasticSearchClient');
36-
}
29+
/**
30+
* Create a client
31+
*
32+
* @return \Flowpack\ElasticSearch\Domain\Model\Client
33+
*/
34+
public function create()
35+
{
36+
return $this->clientFactory->create(null, 'Flowpack\ElasticSearch\ContentRepositoryAdaptor\ElasticSearchClient');
37+
}
3738
}
38-
39-
?>

0 commit comments

Comments
 (0)