Completed
Push — master ( 92ccbf...b2415b )
by Simonas
63:39
created
Document/Translation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Service/TranslationManager.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.