Passed
Push — feature/job-status-transitions ( 1c9378...8f188a )
by Tristan
04:08 queued 13s
created
app/Providers/ViewComposerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         );
64 64
 
65 65
         View::composer(
66
-            ['common/relatives','common/reference','common/relatives-projects',
66
+            ['common/relatives', 'common/reference', 'common/relatives-projects',
67 67
                 'common/sample', 'common/skill', 'common/modals/create_reference'],
68 68
             'App\Http\ViewComposers\RelativeComposer'
69 69
         );
Please login to merge, or discard this patch.
app/Services/Validation/ApplicationValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class ApplicationValidator
13 13
 {
14 14
 
15
-    public $backendRules =  [
15
+    public $backendRules = [
16 16
             'job_poster_id' => 'required',
17 17
             'application_status_id' => 'required',
18 18
             'applicant_id' => 'required',
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/JobPosterCrudController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,8 +108,7 @@
 block discarded – undo
108 108
             'function' =>
109 109
             function ($entry) {
110 110
                 return $entry->submitted_applications_count() > 0 ?
111
-                    '<a target="_blank" href="' . route('manager.jobs.applications', $entry->id) . '">' . $entry->submitted_applications_count() . ' (View <i class="fa fa-external-link"></i>)</a>' :
112
-                    $entry->submitted_applications_count();
111
+                    '<a target="_blank" href="' . route('manager.jobs.applications', $entry->id) . '">' . $entry->submitted_applications_count() . ' (View <i class="fa fa-external-link"></i>)</a>' : $entry->submitted_applications_count();
113 112
             }
114 113
         ]);
115 114
 
Please login to merge, or discard this patch.
routes/web.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -786,7 +786,7 @@  discard block
 block discarded – undo
786 786
         ->name('api.jobs.setJobStatus');
787 787
     Route::resource('jobs', 'Api\JobController')->only([
788 788
         'show', 'store', 'update', 'index'
789
-    ])->names([ // Specify custom names because default names collied with existing routes.
789
+    ])->names([// Specify custom names because default names collied with existing routes.
790 790
         'show' => 'api.jobs.show',
791 791
         'store' => 'api.jobs.store',
792 792
         'update' => 'api.jobs.update',
@@ -799,7 +799,7 @@  discard block
 block discarded – undo
799 799
 
800 800
     Route::resource('managers', 'Api\ManagerController')->only([
801 801
         'show', 'update'
802
-    ])->names([ // Specify custom names because default names collied with existing routes.
802
+    ])->names([// Specify custom names because default names collied with existing routes.
803 803
         'show' => 'api.managers.show',
804 804
         'update' => 'api.managers.update'
805 805
     ]);
Please login to merge, or discard this patch.