@@ -80,7 +80,7 @@ discard block |
||
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 |
||
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 | }); |