File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public function isRejected()
72
72
}
73
73
74
74
/**
75
- * @return bool|void
75
+ * @return bool
76
76
*/
77
77
public function process ()
78
78
{
@@ -93,7 +93,7 @@ public function process()
93
93
94
94
$ this ->form ->handleRequest ($ request );
95
95
if (!$ this ->form ->isValid ()) {
96
- return ;
96
+ return false ;
97
97
}
98
98
99
99
$ this ->onSuccess ();
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ public function testProcessWillHandleRequestOnPost()
376
376
->willReturn (false )
377
377
;
378
378
379
- $ this ->assertNull ($ this ->instance ->process ());
379
+ $ this ->assertFalse ($ this ->instance ->process ());
380
380
}
381
381
382
382
public function testProcessWillHandleRequestOnPostAndWillProcessDataIfFormIsValid ()
You can’t perform that action at this time.
0 commit comments