Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12320179
D3803.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
471 B
Referenced Files
None
Subscribers
None
D3803.diff
View Options
diff --git a/database/src/Exceptions/SqlException.php b/database/src/Exceptions/SqlException.php
--- a/database/src/Exceptions/SqlException.php
+++ b/database/src/Exceptions/SqlException.php
@@ -53,7 +53,7 @@
// Build from state
parent::__construct(
$this->state['error'] ?? self::DEFAULT_MESSAGE,
- $this->state['errno'] ?? 0,
+ (int)$this->state['errno'] ?? 0,
);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 24, 13:03 (20 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3100803
Default Alt Text
D3803.diff (471 B)
Attached To
Mode
D3803: Ensure errno is always an integer in SqlException
Attached
Detach File
Event Timeline
Log In to Comment