Completed
Push — master ( 1b6c56...2cb728 )
by Avtandil
05:43
created
src/MultiLang/Repository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             ->where('lang', $lang);
81 81
 
82 82
         if (!is_null($scope)) {
83
-            $query = $query->whereNested(function ($query) use ($scope) {
83
+            $query = $query->whereNested(function($query) use ($scope) {
84 84
                 $query->where('scope', 'global');
85 85
                 $query->orWhere('scope', $scope);
86 86
             });
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         }
114 114
 
115 115
         if (!is_null($scope)) {
116
-            $query = $query->whereNested(function ($query) use ($scope) {
116
+            $query = $query->whereNested(function($query) use ($scope) {
117 117
                 $query->where('scope', 'global');
118 118
                 $query->orWhere('scope', $scope);
119 119
             });
Please login to merge, or discard this patch.