Fixed newly detected issue.

This commit is contained in:
Pachira 2024-08-18 16:20:56 +00:00
parent fbca708fbd
commit f690df4200
3 changed files with 22 additions and 22 deletions

View file

@ -1 +1 @@
0.2408.40014
0.2408.181620

38
composer.lock generated
View file

@ -245,16 +245,16 @@
},
{
"name": "phpstan/phpstan",
"version": "1.11.8",
"version": "1.11.10",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "6adbd118e6c0515dd2f36b06cde1d6da40f1b8ec"
"reference": "640410b32995914bde3eed26fa89552f9c2c082f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/6adbd118e6c0515dd2f36b06cde1d6da40f1b8ec",
"reference": "6adbd118e6c0515dd2f36b06cde1d6da40f1b8ec",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/640410b32995914bde3eed26fa89552f9c2c082f",
"reference": "640410b32995914bde3eed26fa89552f9c2c082f",
"shasum": ""
},
"require": {
@ -299,7 +299,7 @@
"type": "github"
}
],
"time": "2024-07-24T07:01:22+00:00"
"time": "2024-08-08T09:02:50+00:00"
},
{
"name": "phpunit/php-code-coverage",
@ -626,16 +626,16 @@
},
{
"name": "phpunit/phpunit",
"version": "11.2.9",
"version": "11.3.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "c197bbaaca360efda351369bf1fd9cc1ca6bcbf7"
"reference": "fe179875ef0c14e90b75617002767eae0a742641"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c197bbaaca360efda351369bf1fd9cc1ca6bcbf7",
"reference": "c197bbaaca360efda351369bf1fd9cc1ca6bcbf7",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fe179875ef0c14e90b75617002767eae0a742641",
"reference": "fe179875ef0c14e90b75617002767eae0a742641",
"shasum": ""
},
"require": {
@ -656,7 +656,7 @@
"phpunit/php-timer": "^7.0.1",
"sebastian/cli-parser": "^3.0.2",
"sebastian/code-unit": "^3.0.1",
"sebastian/comparator": "^6.0.1",
"sebastian/comparator": "^6.0.2",
"sebastian/diff": "^6.0.2",
"sebastian/environment": "^7.2.0",
"sebastian/exporter": "^6.1.3",
@ -674,7 +674,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "11.2-dev"
"dev-main": "11.3-dev"
}
},
"autoload": {
@ -706,7 +706,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/11.2.9"
"source": "https://github.com/sebastianbergmann/phpunit/tree/11.3.1"
},
"funding": [
{
@ -722,7 +722,7 @@
"type": "tidelift"
}
],
"time": "2024-07-30T11:09:23+00:00"
"time": "2024-08-13T06:14:23+00:00"
},
{
"name": "sebastian/cli-parser",
@ -896,16 +896,16 @@
},
{
"name": "sebastian/comparator",
"version": "6.0.1",
"version": "6.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
"reference": "131942b86d3587291067a94f295498ab6ac79c20"
"reference": "450d8f237bd611c45b5acf0733ce43e6bb280f81"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/131942b86d3587291067a94f295498ab6ac79c20",
"reference": "131942b86d3587291067a94f295498ab6ac79c20",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/450d8f237bd611c45b5acf0733ce43e6bb280f81",
"reference": "450d8f237bd611c45b5acf0733ce43e6bb280f81",
"shasum": ""
},
"require": {
@ -961,7 +961,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/comparator/issues",
"security": "https://github.com/sebastianbergmann/comparator/security/policy",
"source": "https://github.com/sebastianbergmann/comparator/tree/6.0.1"
"source": "https://github.com/sebastianbergmann/comparator/tree/6.0.2"
},
"funding": [
{
@ -969,7 +969,7 @@
"type": "github"
}
],
"time": "2024-07-03T04:48:07+00:00"
"time": "2024-08-12T06:07:25+00:00"
},
{
"name": "sebastian/complexity",

View file

@ -1,7 +1,7 @@
<?php
// MariaDBResultNative.php
// Created: 2021-05-02
// Updated: 2024-08-03
// Updated: 2024-08-18
namespace Index\Data\MariaDB;
@ -31,7 +31,7 @@ class MariaDBResultNative extends MariaDBResult {
return false;
$result = $this->result->fetch_array(MYSQLI_BOTH);
if($result === null)
if($result === null || $result === false)
return false;
$this->currentRow = $result;