Passed
Push — main ( 5357dd...a49528 )
by PRATIK
11:17 queued 07:00
created
src/Http/Livewire/Admin/Post/PostsTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
     {
196 196
         $search = $this->search ?? null;
197 197
         if ($search != '') {
198
-            return Post::where(function ($query) use ($search) {
198
+            return Post::where(function($query) use ($search) {
199 199
                 $query->where('name', 'LIKE', '%'.$search.'%')
200 200
                     ->orWhere('excerpt', 'LIKE', '%'.$search.'%')
201 201
                     ->orWhere('seo_name', 'LIKE', '%'.$search.'%')
Please login to merge, or discard this patch.
src/Provider/WebsiteServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     protected function registerResource()
196 196
     {
197
-        if (! config('website.publish_migrations', true)) {
197
+        if (!config('website.publish_migrations', true)) {
198 198
             $this->loadMigrationsFrom(__DIR__.'/../../database/migrations'); // Loading Migration Files
199 199
         }
200 200
         $this->loadViewsFrom(__DIR__.'/../../resources/views', 'website'); // Loading Views Files
@@ -223,12 +223,12 @@  discard block
 block discarded – undo
223 223
      */
224 224
     protected function registerRoutes()
225 225
     {
226
-        Route::group($this->routeConfiguration(), function () {
226
+        Route::group($this->routeConfiguration(), function() {
227 227
             $this->loadRoutesFrom(__DIR__.'/../../routes/web.php');
228 228
         });
229 229
 
230 230
         if (config('website.website_api_end_points', true)) {
231
-            Route::group($this->apiRouteConfiguration(), function () {
231
+            Route::group($this->apiRouteConfiguration(), function() {
232 232
                 $this->loadRoutesFrom(__DIR__.'/../../routes/api.php');
233 233
             });
234 234
         }
Please login to merge, or discard this patch.
src/Http/Livewire/Admin/Category/QuickCategory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
     public function render()
42 42
     {
43
-        $parentcategories = Category::whereNull('parent_id')->where(function ($q) {
43
+        $parentcategories = Category::whereNull('parent_id')->where(function($q) {
44 44
             return $q->where('model', $this->model)->orWhere('model', 'All');
45 45
         })->with('childrenCategories')->get();
46 46
 
Please login to merge, or discard this patch.