Comprehensibility fixes

This commit is contained in:
Dennis Eichhorn 2016-03-27 21:51:49 +02:00
parent fd9480a34c
commit e3171d38e3
6 changed files with 8 additions and 5 deletions

View File

@ -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);
}

View File

@ -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();

View File

@ -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)) {

View File

@ -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++) {

View File

@ -1,5 +1,5 @@
<?php
class Aztec
class Datamatrix
{
}

View File

@ -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 = [];