Fix some nulls and the notifications on the handlers

This commit is contained in:
Joseph Cohen
2015-11-22 00:18:09 -06:00
parent 24d09ccefd
commit a593dabeb9
4 changed files with 8 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ class SignupController extends Controller
*/
public function getSignup($code = null)
{
if ($code !== null) {
if ($code === null) {
throw new NotFoundHttpException();
}
@@ -61,7 +61,7 @@ class SignupController extends Controller
*/
public function postSignup($code = null)
{
if ($code !== null) {
if ($code === null) {
throw new NotFoundHttpException();
}