Completed
Push — development ( 76b4cb...55251d )
by Glenn
11:56 queued 05:54
created
app/Http/Controllers/HolidaysController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * Store a newly created resource in storage.
45 45
      *
46 46
      * @param  Requests\HolidayValidator $input
47
-     * @return \Illuminate\Http\Response
47
+     * @return \Illuminate\Http\RedirectResponse
48 48
      */
49 49
     public function store(Requests\HolidayValidator $input)
50 50
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @param  Requests\HolidayValidator $input
91 91
      * @param  int | $id | The database id.
92
-     * @return \Illuminate\Http\Response
92
+     * @return \Illuminate\Http\RedirectResponse
93 93
      */
94 94
     public function update(Requests\HolidayValidator $input, $id)
95 95
     {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * Remove the specified resource from storage.
106 106
      *
107 107
      * @param  int | $id | The database id.
108
-     * @return \Illuminate\Http\Response
108
+     * @return \Illuminate\Http\RedirectResponse
109 109
      */
110 110
     public function destroy($id)
111 111
     {
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
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Store a newly created team in database.
49 49
      *
50
-     * @param array $request The user input form the form.
50
+     * @param Request $request The user input form the form.
51 51
      */
52 52
     public function store(Request $request)
53 53
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     /**
85 85
      * Update the specified team in the database.
86 86
      *
87
-     * @param  array $request The user input from the form.
87
+     * @param  Request $request The user input from the form.
88 88
      * @param  int $id The id in the database for the team
89 89
      * @return string
90 90
      */
Please login to merge, or discard this patch.
app/Http/Middleware/ManagerMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function handle($request, Closure $next)
17 17
     {
18
-        if(auth()->user()->is('Manager')) {
18
+        if (auth()->user()->is('Manager')) {
19 19
             return $next($request);
20 20
         } else {
21 21
             return redirect()->back(302);
Please login to merge, or discard this patch.
app/Http/Controllers/DepartmentsController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * Store a newly created resource in storage.
45 45
      *
46 46
      * @param  Requests\HolidayValidator $input
47
-     * @return \Illuminate\Http\Response
47
+     * @return \Illuminate\Http\RedirectResponse
48 48
      */
49 49
     public function store(Requests\HolidayValidator $input)
50 50
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @param  Requests\HolidayValidator $input
91 91
      * @param  int | $id | The database id.
92
-     * @return \Illuminate\Http\Response
92
+     * @return \Illuminate\Http\RedirectResponse
93 93
      */
94 94
     public function update(Requests\HolidayValidator $input, $id)
95 95
     {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * Remove the specified resource from storage.
106 106
      *
107 107
      * @param  int | $id | The database id.
108
-     * @return \Illuminate\Http\Response
108
+     * @return \Illuminate\Http\RedirectResponse
109 109
      */
110 110
     public function destroy($id)
111 111
     {
Please login to merge, or discard this patch.