Skip to content

Commit cec579e

Browse files
committed
version
2 parents 4415b94 + 88dced8 commit cec579e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Illuminate/Database/DetectsLostConnections.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ protected function causedByLostConnection(Throwable $e)
4444
'running with the --read-only option so it cannot execute this statement',
4545
'The connection is broken and recovery is not possible. The connection is marked by the client driver as unrecoverable. No attempt was made to restore the connection.',
4646
'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again',
47+
'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known',
4748
'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: EOF detected',
4849
'SQLSTATE[HY000] [2002] Connection timed out',
4950
'SSL: Connection timed out',

src/Illuminate/Foundation/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Application extends Container implements ApplicationContract, CachesConfig
3333
*
3434
* @var string
3535
*/
36-
const VERSION = '8.21.0';
36+
const VERSION = '8.22.0';
3737

3838
/**
3939
* The base path for the Laravel installation.

src/Illuminate/Validation/Concerns/ValidatesAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ public function validateJson($attribute, $value)
11461146
return false;
11471147
}
11481148

1149-
if (! is_scalar($value) && ! method_exists($value, '__toString')) {
1149+
if (! is_scalar($value) && ! is_null($value) && ! method_exists($value, '__toString')) {
11501150
return false;
11511151
}
11521152

0 commit comments

Comments
 (0)