This commit is contained in:
Dennis Eichhorn 2019-03-09 23:18:21 +01:00
parent b9a82ea08d
commit 632322fa88
4 changed files with 35 additions and 6 deletions

View File

@ -15,6 +15,7 @@ declare(strict_types=1);
namespace phpOMS\DataStorage\File;
use phpOMS\DataStorage\File\QueryType;
use phpOMS\DataStorage\Database\Query\JoinType;
/**
* Json query Jsonbuilder.

View File

@ -2,4 +2,34 @@
// where create sub array
// order
// select data from where
// limit
// limit
/**
* Orange Management
*
* PHP Version 7.2
*
* @package phpOMS\DataStorage\File
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://website.orange-management.de
*/
declare(strict_types=1);
namespace phpOMS\DataStorage\File;
use phpOMS\DataStorage\File\QueryType;
/**
* Json query JsonGrammar.
*
* @package phpOMS\DataStorage\File
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
*/
final class JsonGrammar
{
}

View File

@ -254,13 +254,11 @@ final class SingularValueDecomposition
$pp = $p - 1;
$iter = 0;
while (true) {
while ($p > 0) {
for ($k = $p - 2; $k >= -1; --$k) {
if ($k === -1) {
break;
}
if (\abs($e[$k]) <= $eps * (\abs($this->S[$k]) + \abs($this->S[$k + 1]))) {
} elseif (\abs($e[$k]) <= $eps * (\abs($this->S[$k]) + \abs($this->S[$k + 1]))) {
$e[$k] = 0.0;
break;
}

View File

@ -196,7 +196,7 @@ abstract class RequestAbstract implements MessageInterface
return [];
}
$json = \json_decode($this->data[$key]);
$json = \json_decode($this->data[$key], true);
return $json === false ? [] : $json;
}