mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-22 06:18:41 +00:00
Comprehensibility fixes
This commit is contained in:
parent
fd9480a34c
commit
e3171d38e3
|
|
@ -3,7 +3,7 @@
|
|||
namespace phpOMS\Math\Matrix;
|
||||
|
||||
class Vector extends Matrix {
|
||||
public function __constrcut(int $m)
|
||||
public function __construct(int $m)
|
||||
{
|
||||
parent::__construct($m);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ class Directory extends FileAbstract implements \Iterator, \ArrayAccess
|
|||
public function __construct(string $path, string $filter = '*')
|
||||
{
|
||||
$this->filter = $filter;
|
||||
parent::__constrct($path);
|
||||
parent::__construct($path);
|
||||
|
||||
if(file_exists($this->path)) {
|
||||
parent::index();
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ class File extends FileAbstract
|
|||
|
||||
public function __construct(string $path)
|
||||
{
|
||||
parent::__constrct($path);
|
||||
parent::__construct($path);
|
||||
$this->count = 1;
|
||||
|
||||
if(file_exists($this->path)) {
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ class C25 extends C128Abstract
|
|||
$codeString = '';
|
||||
$length = strlen($this->content);
|
||||
$arrayLength = count(self::$CODEARRAY);
|
||||
$temp = [];
|
||||
|
||||
for ($posX = 1; $posX <= $length; $posX++) {
|
||||
for ($posY = 0; $posY < $arrayLength; $posY++) {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
|
||||
class Aztec
|
||||
class Datamatrix
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,9 @@ namespace phpOMS\Utils;
|
|||
|
||||
class Permutation
|
||||
{
|
||||
// usage: permut(['a', 'b', 'c']);
|
||||
/**
|
||||
* usage: permut(['a', 'b', 'c']);
|
||||
*/
|
||||
public static function permut(array $toPermute, array $result = []) : array
|
||||
{
|
||||
$permutations = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user