Skip to content

Commit

Permalink
Correct missing namespace in type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hall committed Feb 1, 2017
1 parent e29e021 commit 904e66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/nopostdata.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'errorMessage' => 'An error occurred processing your request. You may be uploading a file which is too large.',

// If you wish to change the default behavior of redirecting back with an error, you can do so by changing the closure below.
'closure' => function(Request $request, Closure $next) {
'closure' => function(\Illuminate\Http\Request $request, \Closure $next) {
return redirect()->back()->withInput()->withErrors(['no_post_data' => config('nopostdata.errorMessage')]);
}

Expand Down

0 comments on commit 904e66b

Please sign in to comment.