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

@@ -70,7 +70,7 @@ class SubscribeController extends Controller
*/
public function getVerify($code = null)
{
if ($code !== null) {
if ($code === null) {
throw new NotFoundHttpException();
}
@@ -95,7 +95,7 @@ class SubscribeController extends Controller
*/
public function getUnsubscribe($code = null)
{
if ($code !== null) {
if ($code === null) {
throw new NotFoundHttpException();
}