Fix some nulls and the notifications on the handlers
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user