Commit a0c6a196 by Scott

Minor formatting

parent 579ff523
......@@ -48,7 +48,6 @@ spl_autoload_register('qa_autoload');
use Q2A\App\Application;
// Execution section of this file - remainder contains function definitions
qa_initialize_php();
......
......@@ -29,7 +29,7 @@ class NoPermissionException extends ErrorMessageException
*/
public function __construct($message = null)
{
if (is_null($message)) {
if ($message === null) {
$message = qa_lang_html('users/no_permission');
}
......
......@@ -140,7 +140,7 @@ class DbResult
*/
public function isEmpty()
{
return $this->stmt->rowCount() == 0;
return $this->stmt->rowCount() === 0;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment