Skip to content

Commit 844616e

Browse files
committed
Release v4.4.1
1 parent 30008a0 commit 844616e

Some content is hidden

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

42 files changed

+156
-105
lines changed

app/Config/Autoload.php

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

app/Config/DocTypes.php

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

33
namespace Config;
44

5+
/**
6+
* @immutable
7+
*/
58
class DocTypes
69
{
710
/**

app/Config/Email.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ class Email extends BaseConfig
5656
public bool $SMTPKeepAlive = false;
5757

5858
/**
59-
* SMTP Encryption. Either tls or ssl
59+
* SMTP Encryption.
60+
*
61+
* @var string '', 'tls' or 'ssl'. 'tls' will issue a STARTTLS command
62+
* to the server. 'ssl' means implicit SSL. Connection on port
63+
* 465 should set this to ''.
6064
*/
6165
public string $SMTPCrypto = 'tls';
6266

app/Config/ForeignCharacters.php

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

55
use CodeIgniter\Config\ForeignCharacters as BaseForeignCharacters;
66

7+
/**
8+
* @immutable
9+
*/
710
class ForeignCharacters extends BaseForeignCharacters
811
{
912
}

app/Config/Mimes.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
*
1616
* When working with mime types, please make sure you have the ´fileinfo´
1717
* extension enabled to reliably detect the media types.
18+
*
19+
* @immutable
1820
*/
1921
class Mimes
2022
{

app/Config/Modules.php

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

system/CLI/CLI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public static function init()
177177
* Named options must be in the following formats:
178178
* php index.php user -v --v -name=John --name=John
179179
*
180-
* @param string $prefix
180+
* @param string $prefix You may specify a string with which to prompt the user.
181181
*/
182182
public static function input(?string $prefix = null): string
183183
{

system/Cache/Handlers/BaseHandler.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public static function validateKey($key, $prefix = ''): string
7777
* @param string $key Cache item name
7878
* @param int $ttl Time to live
7979
* @param Closure $callback Callback return value
80+
* @phpstan-param Closure(): mixed $callback
8081
*
8182
* @return array|bool|float|int|object|string|null
8283
*/
@@ -98,6 +99,8 @@ public function remember(string $key, int $ttl, Closure $callback)
9899
*
99100
* @param string $pattern Cache items glob-style pattern
100101
*
102+
* @return int|never
103+
*
101104
* @throws Exception
102105
*/
103106
public function deleteMatching(string $pattern)

system/Cache/Handlers/DummyHandler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ public function delete(string $key)
5959

6060
/**
6161
* {@inheritDoc}
62+
*
63+
* @return int
6264
*/
6365
public function deleteMatching(string $pattern)
6466
{

system/Cache/Handlers/FileHandler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ public function delete(string $key)
127127

128128
/**
129129
* {@inheritDoc}
130+
*
131+
* @return int
130132
*/
131133
public function deleteMatching(string $pattern)
132134
{

0 commit comments

Comments
 (0)