Skip to content

Commit 3d3ba05

Browse files
committed
Merge branch 'develop' into 4.7
2 parents 115d37e + caf9f34 commit 3d3ba05

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+311
-745
lines changed

app/Config/Autoload.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
*
1818
* NOTE: This class is required prior to Autoloader instantiation,
1919
* and does not extend BaseConfig.
20-
*
21-
* @immutable
2220
*/
2321
class Autoload extends AutoloadConfig
2422
{

app/Config/DocTypes.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
namespace Config;
44

5-
/**
6-
* @immutable
7-
*/
85
class DocTypes
96
{
107
/**

app/Config/Mimes.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
namespace Config;
44

55
/**
6-
* Mimes
7-
*
86
* This file contains an array of mime types. It is used by the
97
* Upload class to help identify allowed file types.
108
*
@@ -15,8 +13,6 @@
1513
*
1614
* When working with mime types, please make sure you have the ´fileinfo´
1715
* extension enabled to reliably detect the media types.
18-
*
19-
* @immutable
2016
*/
2117
class Mimes
2218
{

app/Config/Modules.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
*
1010
* NOTE: This class is required prior to Autoloader instantiation,
1111
* and does not extend BaseConfig.
12-
*
13-
* @immutable
1412
*/
1513
class Modules extends BaseModules
1614
{

app/Config/Optimize.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
*
88
* NOTE: This class does not extend BaseConfig for performance reasons.
99
* So you cannot replace the property values with Environment Variables.
10-
*
11-
* @immutable
1210
*/
1311
class Optimize
1412
{

app/Config/Paths.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
*
1616
* NOTE: This class is required prior to Autoloader instantiation,
1717
* and does not extend BaseConfig.
18-
*
19-
* @immutable
2018
*/
2119
class Paths
2220
{

system/CodeIgniter.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,9 @@ protected function display404errors(PageNotFoundException $e)
948948
$this->response->setStatusCode($e->getCode());
949949

950950
// Is there a 404 Override available?
951-
if ($override = $this->router->get404Override()) {
951+
$override = $this->router->get404Override();
952+
953+
if ($override !== null) {
952954
$returned = null;
953955

954956
if ($override instanceof Closure) {

system/ComposerScripts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ final class ComposerScripts
6767
* This static method is called by Composer after every update event,
6868
* i.e., `composer install`, `composer update`, `composer remove`.
6969
*/
70-
public static function postUpdate()
70+
public static function postUpdate(): void
7171
{
7272
self::recursiveDelete(self::$path);
7373

system/Database/BaseBuilder.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3380,6 +3380,8 @@ public function resetQuery()
33803380
* Resets the query builder values. Called by the get() function
33813381
*
33823382
* @param array $qbResetItems An array of fields to reset
3383+
*
3384+
* @return void
33833385
*/
33843386
protected function resetRun(array $qbResetItems)
33853387
{
@@ -3390,6 +3392,8 @@ protected function resetRun(array $qbResetItems)
33903392

33913393
/**
33923394
* Resets the query builder values. Called by the get() function
3395+
*
3396+
* @return void
33933397
*/
33943398
protected function resetSelect()
33953399
{
@@ -3421,6 +3425,8 @@ protected function resetSelect()
34213425
* Resets the query builder "write" values.
34223426
*
34233427
* Called by the insert() update() insertBatch() updateBatch() and delete() functions
3428+
*
3429+
* @return void
34243430
*/
34253431
protected function resetWrite()
34263432
{

system/Database/Config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
use Config\Database as DbConfig;
1919

2020
/**
21-
* Class Config
22-
*
2321
* @see \CodeIgniter\Database\ConfigTest
2422
*/
2523
class Config extends BaseConfig
@@ -141,6 +139,8 @@ public static function seeder(?string $group = null)
141139

142140
/**
143141
* Ensures the database Connection Manager/Factory is loaded and ready to use.
142+
*
143+
* @return void
144144
*/
145145
protected static function ensureFactory()
146146
{

0 commit comments

Comments
 (0)