mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
fix empty lines
This commit is contained in:
parent
a51be51c03
commit
9511d3209c
|
|
@ -30,23 +30,19 @@ class MultipleLinearRegression
|
|||
return $XT->mult($X)->inverse()->mult($XT)->mult($Y)->getMatrix();
|
||||
}
|
||||
|
||||
|
||||
public static function getVariance() : float
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public static function getPredictionInterval() : array
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public static function getSlope(float $b1, float $y, float $x) : float
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
|
||||
public static function getElasticity(float $b1, float $y, float $x): float
|
||||
{
|
||||
return 0.0;
|
||||
|
|
|
|||
|
|
@ -264,6 +264,32 @@ abstract class ModuleAbstract
|
|||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a model
|
||||
*
|
||||
* @param int $account Account id
|
||||
* @param array $objs Response object
|
||||
* @param string $mapper Object mapper
|
||||
* @param string $trigger Trigger for the event manager
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function createModels(int $account, array $objs, string $mapper, string $trigger) : void
|
||||
{
|
||||
foreach ($objs as $obj) {
|
||||
$this->app->eventManager->trigger('PRE:Module:' . static::MODULE_NAME . '-' . $trigger . '-create', '', $obj);
|
||||
$mapper::create($obj);
|
||||
$this->app->eventManager->trigger('POST:Module:' . static::MODULE_NAME . '-' . $trigger . '-create', '', [
|
||||
$account,
|
||||
null, $obj,
|
||||
0, 0,
|
||||
static::MODULE_NAME,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update a model
|
||||
*
|
||||
|
|
|
|||
|
|
@ -127,7 +127,6 @@ class Edge
|
|||
return $this->weight;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Is directed edge
|
||||
*
|
||||
|
|
|
|||
|
|
@ -99,7 +99,6 @@ class Markdown
|
|||
'_' => '/^__((?:\\\\_|[^_]|_[^_]*_)+?)__(?!_)/us',
|
||||
];
|
||||
|
||||
|
||||
/**
|
||||
* Regex for em.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ namespace phpOMS\tests\Socket;
|
|||
|
||||
require_once __DIR__ . '/../Autoloader.php';
|
||||
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ namespace phpOMS\tests\Socket;
|
|||
|
||||
require_once __DIR__ . '/../Autoloader.php';
|
||||
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user