Passed
Push — master ( efbc83...6e9172 )
by Alexander
02:38
created
src/Handler/DatabaseHandler.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,11 +53,9 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return void
55 55
      */
56
-    public function refreshCache()
57
-    {
56
+    public function refreshCache() {
58 57
         $translations = new TranslationIdentifier();
59
-        $translations = $translations->leftJoin('translations', function($join)
60
-            {
58
+        $translations = $translations->leftJoin('translations', function($join) {
61 59
                 $join->on('translation_identifiers.id', '=', 'translations.translation_identifier_id')
62 60
                     ->where('locale', $this->locale);
63 61
             }
@@ -93,8 +91,7 @@  discard block
 block discarded – undo
93 91
      * @throws NotFoundResourceException
94 92
      * @return integer
95 93
      */
96
-    function getDatabaseID($identifier)
97
-    {
94
+    function getDatabaseID($identifier) {
98 95
         if (isset($this->translations[$identifier])) {
99 96
             return $this->translations[$identifier]->id;
100 97
         } else {
Please login to merge, or discard this patch.