Test Failed
Push — 2.0.4 ( ...173c10 )
by steve
21:07
created
neon/core/web/FilterGlobalPassword.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 			$niceId = setting('core', 'global_password_holding_page', '');
64 64
 			$page = neon()->cms->getPage();
65 65
 			// check the page with the nice_id exists
66
-			if (! $page->setById($niceId)) throw new \yii\web\HttpException(404, 'No page found');
66
+			if (!$page->setById($niceId)) throw new \yii\web\HttpException(404, 'No page found');
67 67
 			neon()->response->content = $page->render();
68 68
 			//return false;
69 69
 			return true;
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 		// No holding page niceId has been given so display a standard password screen
101 101
 		neon()->response->content = neon()->view->render('@neon/core/views/global-password.php', [
102 102
 			'passwordParam' => $this->passwordParam,
103
-			'incorrectPassword' => ($this->getSuppliedPassword()!==null)
103
+			'incorrectPassword' => ($this->getSuppliedPassword() !== null)
104 104
 		]);
105 105
 	}
106 106
 
Please login to merge, or discard this patch.