summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-02-11 15:38:58 +0100
committerAndrey Andreev <narf@devilix.net>2022-02-11 15:41:13 +0100
commit6846d26d7b8d7a05d98bf2020f9348beb63d97d7 (patch)
tree71b24a9a8a367b169eb205a7b17f5932068e1c0f /system
parent61d77ed281390e0de66da3dbdde32d816c021b24 (diff)
[ci skip] Merge pull request #6098 from totoprayogo1916/indent-whitespaces
Minor indentation & whitespace corrections
Diffstat (limited to 'system')
-rw-r--r--system/core/Security.php1
-rw-r--r--system/database/drivers/mysql/mysql_forge.php1
-rw-r--r--system/helpers/html_helper.php1
-rw-r--r--system/libraries/Session/drivers/Session_files_driver.php2
-rw-r--r--system/libraries/Xmlrpc.php2
5 files changed, 2 insertions, 5 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index d1d4f8432..4ff9ac5aa 100644
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -655,7 +655,6 @@ class CI_Security {
return $output;
}
-
if (is_readable('/dev/urandom') && ($fp = fopen('/dev/urandom', 'rb')) !== FALSE)
{
// Try not to waste entropy ...
diff --git a/system/database/drivers/mysql/mysql_forge.php b/system/database/drivers/mysql/mysql_forge.php
index e59366bed..85101bdd9 100644
--- a/system/database/drivers/mysql/mysql_forge.php
+++ b/system/database/drivers/mysql/mysql_forge.php
@@ -185,7 +185,6 @@ class CI_DB_mysql_forge extends CI_DB_forge {
$extra_clause = ' FIRST';
}
-
return $this->db->escape_identifiers($field['name'])
.(empty($field['new_name']) ? '' : ' '.$this->db->escape_identifiers($field['new_name']))
.' '.$field['type'].$field['length']
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index d0a0e7d48..4c54588ef 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -133,7 +133,6 @@ if ( ! function_exists('_list'))
// Write the opening list tag
.'<'.$type._stringify_attributes($attributes).">\n";
-
// Cycle through the list elements. If an array is
// encountered we will recursively call _list()
diff --git a/system/libraries/Session/drivers/Session_files_driver.php b/system/libraries/Session/drivers/Session_files_driver.php
index 4b7b9878b..c912fc71d 100644
--- a/system/libraries/Session/drivers/Session_files_driver.php
+++ b/system/libraries/Session/drivers/Session_files_driver.php
@@ -35,7 +35,7 @@
* @link https://codeigniter.com
* @since Version 3.0.0
* @filesource
-*/
+ */
defined('BASEPATH') OR exit('No direct script access allowed');
/**
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index d500bcf87..531b62841 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -1911,7 +1911,7 @@ class XML_RPC_Values extends CI_Xmlrpc
* @param int unix timestamp
* @param bool
* @return string
- */
+ */
public function iso8601_encode($time, $utc = FALSE)
{
return ($utc) ? date('Ymd\TH:i:s', $time) : gmdate('Ymd\TH:i:s', $time);