Completed
Pull Request — master (#107)
by Glenn
23:25 queued 15:40
created
app/Http/Controllers/SickController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * Store a newly created resource in storage.
42 42
      *
43 43
      * @param  \Illuminate\Http\Request  $request
44
-     * @return \Illuminate\Http\Response
44
+     * @return \Illuminate\Http\RedirectResponse
45 45
      */
46 46
     public function store(Request $request)
47 47
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             $mailbox = env('MAIL_USERNAME');
70 70
 
71 71
             \Session::flash('message', "Information has been saved to the database");
72
-            \Mail::send('emails.new_sick', ['data' => $data], function ($m) use ($mailbox, $subject) {
72
+            \Mail::send('emails.new_sick', ['data' => $data], function($m) use ($mailbox, $subject) {
73 73
                 $m->from($mailbox);
74 74
                 $m->to("[email protected]")->subject("$subject");
75 75
             });
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function map(Router $router)
39 39
     {
40
-        $router->group(['namespace' => $this->namespace], function ($router) {
40
+        $router->group(['namespace' => $this->namespace], function($router) {
41 41
             require app_path('Http/routes.php');
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
app/Http/Controllers/DepartmentsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * Store a newly created resource in storage.
42 42
      *
43 43
      * @param  \Illuminate\Http\Request  $request
44
-     * @return \Illuminate\Http\Response
44
+     * @return \Illuminate\Http\RedirectResponse
45 45
      */
46 46
     public function store(Request $request)
47 47
     {
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function boot()
16 16
     {
17
-        Bouncer::seeder(function () {
17
+        Bouncer::seeder(function() {
18 18
             Bouncer::allow('Agent');
19 19
 
20 20
             Bouncer::allow('Administrator')
Please login to merge, or discard this patch.
app/Http/Controllers/StaffController.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * Store a newly created employee in storage.
48 48
      *
49 49
      * @param Request $request
50
-     * @return mixed
50
+     * @return \Illuminate\Http\RedirectResponse
51 51
      */
52 52
     public function store(Request $request)
53 53
     {
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      *
79 79
      * @param  Int, $id
80 80
      * @param  Request $request
81
-     * @return mixed
81
+     * @return \Illuminate\Http\RedirectResponse
82 82
      */
83 83
     public function updateUser($id, Request $request)
84 84
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * Remove the user role.
151 151
      *
152 152
      * @param  int, $id
153
-     * @return redirect
153
+     * @return \Illuminate\Http\RedirectResponse
154 154
      */
155 155
     public function destroyRole($id)
156 156
     {
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      * Save the new permission.
184 184
      *
185 185
      * @param  Request $request
186
-     * @return redirect
186
+     * @return \Illuminate\Http\RedirectResponse
187 187
      */
188 188
     public function save_permission(Request $request)
189 189
     {
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
      * Update the specified resource in storage.
250 250
      *
251 251
      * @param  \Illuminate\Http\Request $request
252
-     * @return \Illuminate\Http\Response
252
+     * @return \Illuminate\Http\RedirectResponse
253 253
      */
254 254
     public function update(Request $request)
255 255
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $injectionData = ['user' => $user, 'password' => $mail_password];
74 74
 
75
-        Mail::send('emails.new_user', $injectionData, function ($m) use ($user, $mailbox) {
75
+        Mail::send('emails.new_user', $injectionData, function($m) use ($user, $mailbox) {
76 76
             $m->from($mailbox);
77 77
             $m->to($user->email)->subject('Your user credentials!');
78 78
         });
Please login to merge, or discard this patch.
app/Http/Controllers/TypesController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      * Store a newly created resource in storage.
36 36
      *
37 37
      * @param  \Illuminate\Http\Request  $request
38
-     * @return \Illuminate\Http\Response
38
+     * @return \Illuminate\Http\RedirectResponse
39 39
      */
40 40
     public function store(Request $request)
41 41
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * Remove the specified resource from storage.
86 86
      *
87 87
      * @param  int  $id
88
-     * @return \Illuminate\Http\Response
88
+     * @return \Illuminate\Http\RedirectResponse
89 89
      */
90 90
     public function destroy($id)
91 91
     {
Please login to merge, or discard this patch.
app/Http/Controllers/SettingsController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * Store a newly created resource in storage.
42 42
      *
43 43
      * @param  \Illuminate\Http\Request  $request
44
-     * @return \Illuminate\Http\Response
44
+     * @return \Illuminate\Http\RedirectResponse
45 45
      */
46 46
     public function store(Request $request)
47 47
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             'm.d.Y' => '12.23.2010',
39 39
         );
40 40
 
41
-        $data['time_formats'] = array (
41
+        $data['time_formats'] = array(
42 42
             'H:i' => '23:00',
43 43
             'h:ia' => '11:00pm',
44 44
             'h:iA' => '11:00PM',
Please login to merge, or discard this patch.
app/Console/Kernel.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
      *
13 13
      * @var array
14 14
      */
15
-    protected $commands = [ ];
15
+    protected $commands = [];
16 16
 
17 17
     /**
18 18
      * Define the application's command schedule.
Please login to merge, or discard this patch.
app/Http/Controllers/TeamsController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Store a newly created team in database.
44 44
      *
45
-     * @param array $request The user input form the form.
45
+     * @param Request $request The user input form the form.
46 46
      */
47 47
     public function store(Request $request)
48 48
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     /**
76 76
      * Update the specified team in the database.
77 77
      
78
-     * @param array $request The user input from the form.
78
+     * @param Request $request The user input from the form.
79 79
      * @param int   $id      The id in the database for the team
80 80
      */
81 81
     public function update(Request $request, $id)
Please login to merge, or discard this patch.