summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-02-11 15:38:58 +0100
committerGitHub <noreply@github.com>2022-02-11 15:38:58 +0100
commitcd81c1e6b206c2830fffb4c33d89cb61837f3253 (patch)
treebaf27bc6686400f6e5d612470d04191a44ac75e4 /system
parentdd249ea85f54f200267bb206e6cee23497cbe2e2 (diff)
parentdafbbba4f0ce775b7a70f37ba12ee85b65a941b1 (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/Cache/drivers/Cache_redis.php1
-rw-r--r--system/libraries/Session/drivers/Session_files_driver.php2
-rw-r--r--system/libraries/Xmlrpc.php2
6 files changed, 2 insertions, 6 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index aac308194..a25c27c54 100644
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -656,7 +656,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 531ae2251..715515199 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/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php
index e541237e3..466a891f7 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -69,7 +69,6 @@ class CI_Cache_redis extends CI_Driver
*/
protected $_redis;
-
/**
* del()/delete() method name depending on phpRedis version
*
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 11d4400fe..ce39fceb2 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -1909,7 +1909,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);