@@ -117,7 +117,7 @@ |
||
| 117 | 117 | public function getId() |
| 118 | 118 | { |
| 119 | 119 | if (!$this->id) { |
| 120 | - $this->setId(sha1($this->getDomain() . $this->getKey())); |
|
| 120 | + $this->setId(sha1($this->getDomain().$this->getKey())); |
|
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | return $this->id; |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use ONGR\ElasticsearchDSL\Query\MatchAllQuery; |
| 17 | 17 | use ONGR\ElasticsearchDSL\Query\TermsQuery; |
| 18 | 18 | use ONGR\ElasticsearchBundle\Service\Repository; |
| 19 | -use ONGR\FilterManagerBundle\Twig\PagerExtension; |
|
| 20 | 19 | use ONGR\TranslationsBundle\Document\Message; |
| 21 | 20 | use ONGR\TranslationsBundle\Document\Translation; |
| 22 | 21 | use ONGR\TranslationsBundle\Event\Events; |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | foreach ($content as $key => $value) { |
| 124 | - $method = 'set' . ucfirst($key); |
|
| 124 | + $method = 'set'.ucfirst($key); |
|
| 125 | 125 | |
| 126 | 126 | if (!method_exists($document, $method)) { |
| 127 | 127 | throw new \LogicException('Illegal variable provided for translation'); |